node-osascript : Execute AppleScript from Node. You can installing node-osascript npm packages, there are two ways to install this module locally and globaly. -g option is specified to global. Execute the below command.
$ sudo npm install node-osascript $ sudo npm install -g node-osascript
If want to update the node-osascript package execute the command as below,
$ sudo npm update node-osascript
Update package globally,
$ npm install -g node-osascript
$ sudo git clone https://github.com/rektide/node-osascript.git
$ sudo npm install -g ./node-osascript
node-osascript@2.0.0 /usr/lib/node_modules/node-osascript
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall node-osascript
| Package Name | node-osascript |
| Version | 2.0.0 |
| Description | Execute AppleScript from Node |
| Released Date | 2017-02-17T18:31:16.756Z |
| Published by | fweinb |
| How to Learn | https://www.npmjs.com/package/node-osascript/tutorial |