Search results
55 packages found
Register callbacks to call when application exits
Gracefully exit HTTP servers (Express/Koa/Fastify/etc), databases (Mongo/Mongoose), Bree job schedulers, and custom handlers.
Gracefully shutdown your modular NodeJS 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
Kill procesess gracefully with retries, signals and all children
Stop hapi gracefully on SIGINT and SIGTERM
A simple utility to subscribe and run tasks before closing a nodejs program
Yet another POSIX signal handler.
Gracefully terminates HTTP servers in Node.js
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
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
Run some code when the process exits (supports async hooks and pm2 clustering)
Execute promises before exiting a process
Gracefully clean up your program at termination with multiple sync and/or async handlers. Wraps the `death` npm module.
Catch Node.js exit conditions, including errors and unhandled rejections.
Generate ctrl-c (or ctrl-break) events on Windows by calling `Kernel32::GenerateConsoleCtrlEvent()`
- windows
- GenerateConsoleCtrlEvent
- generate
- console
- ctrl
- event
- c
- ctrl+c
- ctrl-c
- CTRL_C_EVENT
- break
- ctrl+break
- ctrl-break
- CTRL_BREAK_EVENT
- View more
Support graceful stop in your app
The one true way of terminating services
Helper for initializing and deinitializing an app