http-shutdown : Gracefully shutdown a running HTTP server.. You can installing http-shutdown 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 http-shutdown $ sudo npm install -g http-shutdown
If want to update the http-shutdown package execute the command as below,
$ sudo npm update http-shutdown
Update package globally,
$ npm install -g http-shutdown
$ sudo git clone https://github.com/rektide/http-shutdown.git
$ sudo npm install -g ./http-shutdown
http-shutdown@1.2.0 /usr/lib/node_modules/http-shutdown
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall http-shutdown
Package Name | http-shutdown |
Version | 1.2.0 |
Description | Gracefully shutdown a running HTTP server. |
Released Date | 2017-02-28T04:52:29.657Z |
Published by | thedillonb |
How to Learn | https://www.npmjs.com/package/http-shutdown/tutorial |