respawn : Spawn a process and restart it if it crashes. You can installing respawn 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 respawn $ sudo npm install -g respawn
If want to update the respawn package execute the command as below,
$ sudo npm update respawn
Update package globally,
$ npm install -g respawn
$ sudo git clone https://github.com/rektide/respawn.git
$ sudo npm install -g ./respawn
respawn@2.5.0 /usr/lib/node_modules/respawn
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall respawn
| Package Name | respawn |
| Version | 2.5.0 |
| Description | Spawn a process and restart it if it crashes |
| Released Date | 2017-02-16T14:43:19.268Z |
| Published by | mafintosh |
| How to Learn | https://www.npmjs.com/package/respawn/tutorial |