42 packages found
Gracefully restore the CLI cursor on exit
Run some code when the process exits
Exit your process, gracefully (if possible)
Run some code when the process exits (supports async hooks and pm2 clustering)
Node.js cancellable exit-hooks
Graceful exit when `uncaughtException` emit, base on `process.on('uncaughtException')`.
A utility package which allows you to clean up before node exits
Gracefully shutdown your modular NodeJS application
Graceful exit for your fastify application
Graceful process exit manager. allows waiting on multiple async services.
- graceful
- exit
- signal
- sigterm
- SIGINT
- SIGHUP
- shutdown
- graceful exit
- uncaught
- uncaughtException
- unhandledRejection
- terminate
- stop
- process
Gracefully shutdown your modular NodeJS application
Execute a callback when the process exits, passing the exit code (ESM/CJS)
Terminal loading effect.
Gracefully exit HTTP servers (Express/Koa/Fastify/etc), databases (Mongo/Mongoose), Bree job schedulers, and custom handlers.
Execute custom cleanup function before Node.js exits
Graceful shutdown Node.js application, this module helps handling process exit signals and closing pending jobs
- nodejs
- npm
- javascript
- graceful
- shutdown
- process exit
- exit
- clear exit
- gracefully
- graceful shutdown
- process shutdown
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 graceful process manager line nodemon.
Run some code when the process exits (supports async hooks and pm2 clustering)
Gracefully exit process while waiting for all services to finish.