56 packages found
Human-friendly process signals
- View more
installs custom cleanup handlers that run on exiting node
Gracefully restore the CLI cursor on exit
Gracefully cleanup when termination signals are sent to your process.
Run some code when the process exits
Human-friendly process signals. This is a fork of ehmicky/human-signals, but with CommonJS support.
- View more
Run some code when the process exits (supports async hooks and pm2 clustering)
Combine multiple processes' Stdout/Stderr/SIGINT to keep them all foreground
A collection of useful functions for running node.js process.
Gracefully shutdown your modular NodeJS application
Register tasks to perform when the process exits.
A utility package which allows you to clean up before node exits
A simple utility to subscribe and run tasks before closing a nodejs program
A Fastify plugin to close the server gracefully on SIGINT and SIGTERM signals
Gracefully exit HTTP servers (Express/Koa/Fastify/etc), databases (Mongo/Mongoose), Bree job schedulers, and custom handlers.
Implements graceful shutdown
Terminal loading effect.
Easily add listeners to signals sent to the running process
Execute a callback when the process exits, passing the exit code (ESM/CJS)