Run some code when the process exits
Run some code when the process exits (supports async hooks and pm2 clustering)
Gracefully cleanup when termination signals are sent to your process.
installs custom cleanup handlers that run on exiting node
Terminal loading effect.
Gracefully clean up your program at termination with multiple sync and/or async handlers. Wraps the `death` npm module.
Gracefully shutdown your modular NodeJS application
The one true way of terminating services
Sending signals on Windows OS
Register tasks to perform when the process exits.
Deprecated, use async-exit-hook instead
Easily add listeners to signals sent to the running process
Register callbacks to call when application exits
Graceful process exit manager. allows waiting on multiple async services.
Gracefully restore the CLI cursor on exit
Execute promises before exiting a process
A simple, enhanced replacement for `npm run-script <command> [-- <args>...]`
Gracefully handle SIGTERM and SIGINT around critical sections code.
Prevent SIGINT on Ctrl+C
powered by npms.io 🚀