hook-exit
An easy way to hook process.exit().
Install
$ npm install --save hook-exit
Usage
const exit = ; exit process; exit; // exit is enable process;
Test and coverage
You just have to clone the repo and run
$ npm test
$ npm run coverage