tiny-dialog
v1.0.0
Published
> fork by https://github.com/tomas/dialog
Downloads
3
Readme
x-Dialog
fork by https://github.com/tomas/dialog
用nodejs
调用原生弹窗
依赖
mac
下使用了applescript
来编写, linux
下采用zenity
# debian
sudo apt install zenity
# mac
brew install zenity
使用
const Dialog = require('x-dialog')
const wow = new Dialog.default
wow.sayDialog('你好世界')
wow.sayInput('个个都是人才')
更多接口请看这里