213 packages found
A replacement for process.exit that ensures stdio are fully drained before exiting.
Human-friendly process signals
- signal
- signals
- handlers
- error-handling
- interrupts
- sigterm
- sigint
- irq
- process
- exit
- exit-code
- status
- operating-system
- es6
- View more
when you want to fire an event no matter how a process exits.
Execute a function on exit without leaking memory, allowing all objects to be garbage collected
Run some code when the process exits
Make unhandled promise rejections fail loudly instead of the default silent fail
installs custom cleanup handlers that run on exiting node
Make unhandled promise rejections fail hard right away instead of the default silent fail
- promise
- promises
- unhandled
- uncaught
- rejection
- hard
- fail
- catch
- throw
- handler
- exit
- debug
- debugging
- verbose
- View more
Spawn a dependent child process.
Execute code when the js-process exits. On all javascript-environments
Run some code when the process exits (supports async hooks and pm2 clustering)
Gracefully restore the CLI cursor on exit
Exit your process, gracefully (if possible)
spawn() that returns a duplex stream and emits errors with stderr data on non-zero exit codes
Fabulously kill processes. Cross-platform.
Execute a function right before the process is about to exit.
A simple and powerful async abstraction lib for easily writing Node.js code.