server-destroy : Enable destroying a server, and all currently open connections.. You can installing server-destroy 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 server-destroy $ sudo npm install -g server-destroy
If want to update the server-destroy package execute the command as below,
$ sudo npm update server-destroy
Update package globally,
$ npm install -g server-destroy
$ sudo git clone https://github.com/rektide/server-destroy.git
$ sudo npm install -g ./server-destroy
server-destroy@1.0.1 /usr/lib/node_modules/server-destroy
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall server-destroy
| Package Name | server-destroy |
| Version | 1.0.1 |
| Description | Enable destroying a server, and all currently open connections. |
| Released Date | 2015-05-20T07:16:41.655Z |
| Published by | isaacs |
| How to Learn | https://www.npmjs.com/package/server-destroy/tutorial |