native-dialog
v0.1.2
Published
Native dialog for mac
Maintainers
Readme
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"]
})
);

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