exec-sync : Execute shell command synchronously. Use this for migration scripts, cli programs, but not for regular server code.. You can installing exec-sync 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 exec-sync $ sudo npm install -g exec-sync
If want to update the exec-sync package execute the command as below,
$ sudo npm update exec-sync
Update package globally,
$ npm install -g exec-sync
$ sudo git clone https://github.com/rektide/exec-sync.git
$ sudo npm install -g ./exec-sync
exec-sync@0.1.6 /usr/lib/node_modules/exec-sync
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall exec-sync
Package Name | exec-sync |
Version | 0.1.6 |
Description | Execute shell command synchronously. Use this for migration scripts, cli programs, but not for regular server code. |
Released Date | 2013-06-12T17:05:14.965Z |
Published by | jeremyfa |
How to Learn | https://www.npmjs.com/package/exec-sync/tutorial |