async-exit-hook
Run some code when the process exits (supports async hooks and pm2 clustering)
Updated by @tapppi
death
Gracefully cleanup when termination signals are sent to your process.
Updated by @jprichardson
node-graceful
Graceful process exit manager. allows waiting on multiple async services.
Updated by @mrbar42
catch-exit
Catch Node.js exit conditions, including errors and unhandled rejections.
Updated by @electrovir
@dnlup/fastify-traps
A Fastify plugin to close the server gracefully on SIGINT and SIGTERM signals
Updated by @dnlup
@codersyndicate/graceful-shutdown
Module that listens on posix signals and gracefully shutdowns the given server
Updated by @luscus
graceful-critical
Gracefully handle SIGTERM and SIGINT around critical sections.
Updated by @stieneee
graceful-shutdown-manager
All in one solution to gracefully shutdown your application through a simple delayed shutdown process. Also allows code reloading and program restarting, instead of using a not so …
Updated by @-nom-
@unboundedsystems/node-graceful
Graceful process exit manager. allows waiting on multiple async services.
Updated by @mr_roboto
exit-hook-plus
Do something before the program exits or when the program crashes!
Updated by @darkyzhou
diehard
Gracefully clean up your program at termination with multiple sync and/or async handlers. Wraps the `death` npm module.
Updated by @troygoode