51 packages found
Human-friendly process signals
- signal
- signals
- handlers
- error-handling
- interrupts
- sigterm
- sigint
- irq
- process
- exit
- exit-code
- status
- operating-system
- es6
- View more
Run some code when the process exits
installs custom cleanup handlers that run on exiting node
Gracefully cleanup when termination signals are sent to your process.
Gracefully restore the CLI cursor on exit
Run some code when the process exits (supports async hooks and pm2 clustering)
A utility package which allows you to clean up before node exits
Implements graceful shutdown
Gracefully handle SIGTERM and SIGINT around critical sections.
A simple utility to subscribe and run tasks before closing a nodejs program
Register callbacks to call when application exits
Gracefully shutdown your modular NodeJS application
Kill procesess gracefully with retries, signals and all children
Execute code when the js-process exits. On all javascript-environments
A simple, enhanced replacement for `npm run-script <command> [-- <args>...]`
CJS version: Human-friendly process signals
- signal
- signals
- handlers
- error-handling
- errors
- interrupts
- sigterm
- sigint
- irq
- process
- exit
- exit-code
- status
- operating-system
- View more
Register tasks to perform when the process exits.
Gracefully exit HTTP servers (Express/Koa/Fastify/etc), databases (Mongo/Mongoose), Bree job schedulers, and custom handlers.
Agnostic JS framework that empowers devs to focus on quickly building apps, rather than focusing on application config, health-checks, application structure, or architecture to build a 12 factor app in Docker.
- app
- spawnpoint
- framework
- events
- errors
- docker
- graceful
- shutdown
- sigint
- sigkill
- infrastructure
- structure
- config
- management
- View more
Execute promises before exiting a process