0.1.2 • Published 4 years ago

native-dialog v0.1.2

Weekly downloads
1
License
MIT
Repository
-
Last release
4 years ago

NATIVE-DIALOG

Native dialog for mac than can be used from node

How To Use

const dialog = require("../index");

 const response =  dialog.showSync({
      title: "Product Test",
      detail: "Please select one option",
      buttons: ["Cancel", "Copy", "Update"]
    })
  );

alt dialog

response can be 0,1,2 depending on the order of button

Check example.js in test folder