signalmanager
ES6 JS class to capture exit signals and specify callbacks to accept or deny them
ES6 JS class to capture exit signals and specify callbacks to accept or deny them
Sending signals on Windows OS
Easily add listeners to signals sent to the running process
Do something before the program exits or when the program crashes!
Sending signals on Windows OS
Sending signals on Windows OS
A simple, enhanced replacement for `npm run-script <command> [-- <args>...]`
Control-C (SIGINT) handler supports single, double, triple, quadruple control-c and so on
Human-friendly process signals
Take control of the SIGINT signal
Deprecated, use async-exit-hook instead
Execute promises before exiting a process
Stop hapi gracefully on SIGINT and SIGTERM
Helper for initializing and deinitializing an app
Human-friendly process signals. This is a fork of ehmicky/human-signals, but with CommonJS support.
Gracefully shutdown your modular NodeJS application
Gracefully exit server (Koa), database (Mongo/Mongoose), Bree job schedulers, Bull job schedulers, and custom handlers.
Simple listener on application stop
Run some code when the process exits (supports async hooks and pm2 clustering)
Execute a callback when the process exits, passing the exit code (ESM/CJS)