Skip to content

d1y/x-Dialog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

x-Dialog

fork by https://github.com/tomas/dialog

nodejs调用原生弹窗

依赖

mac下使用了applescript来编写, linux下采用zenity

# debian
sudo apt install zenity
# mac
brew install zenity

test.gif

使用

const Dialog = require('x-dialog')

const wow = new Dialog.default
wow.sayDialog('你好世界')
wow.sayInput('个个都是人才')

更多接口请看这里

About

nodejs call native alert dialogs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published