Gracefully exit server (Koa), database (Mongo/Mongoose), Bree job schedulers, Bull job schedulers, and custom handlers.
Run some code when the process exits (supports async hooks and pm2 clustering)
A utility package which allows you to clean up before node exits
Graceful process exit manager. allows waiting on multiple async services.
Catch Node.js exit conditions, including errors and unhandled rejections.
ES6 JS class to capture exit signals and specify callbacks to accept or deny them