Search results
224 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
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
Gracefully restore the CLI cursor on exit
A replacement for process.exit that ensures stdio are fully drained before exiting.
Exit your process, gracefully (if possible)
Execute a function right before the process, or the browser's tab, is about to exit.
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
Run some code when the process exits
Human-friendly process signals. This is a fork of ehmicky/human-signals, but with CommonJS support.
- signal
- signals
- handlers
- error-handling
- interrupts
- sigterm
- sigint
- irq
- process
- exit
- exit-code
- status
- operating-system
- es6
- View more
Execute custom cleanup function before Node.js exits
Spawn a dependent child process.
Fabulously kill processes. Cross-platform.
Terminal loading effect.
Execute a function on exit without leaking memory, allowing all objects to be garbage collected
Make unhandled promise rejections fail loudly instead of the default silent fail
Run some code when the process exits (supports async hooks and pm2 clustering)
Run something when a DOM element appears and when it exits
Node.js cancellable exit-hooks