exit : A replacement for process.exit that ensures stdio are fully drained before exiting.. You can installing exit 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 exit $ sudo npm install -g exit
If want to update the exit package execute the command as below,
$ sudo npm update exit
Update package globally,
$ npm install -g exit
$ sudo git clone https://github.com/rektide/exit.git
$ sudo npm install -g ./exit
exit@0.1.2 /usr/lib/node_modules/exit
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall exit
| Package Name | exit |
| Version | 0.1.2 |
| Description | A replacement for process.exit that ensures stdio are fully drained before exiting. |
| Released Date | 2013-11-26T19:24:48.883Z |
| Published by | cowboy |
| How to Learn | https://www.npmjs.com/package/exit/tutorial |