Search results
969 packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
when you want to fire an event no matter how a process exits.
Human-friendly process signals
- signal
- signals
- handlers
- error-handling
- interrupts
- sigterm
- sigint
- irq
- process
- exit
- exit-code
- status
- operating-system
- es6
- View more
Gracefully restore the CLI cursor on exit
A replacement for process.exit that ensures stdio are fully drained before exiting.
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
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
Enter/exit a state
A replacement for process.exit that ensures stdio are fully drained before exiting.
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)
Cleanly exit process on EPIPE
installs custom cleanup handlers that run on exiting node
Execute a function right before the process, or the browser's tab, is about to exit.
exiting a node.js process *and flushing stdout and stderr*
Fabulously kill processes. Cross-platform.
Exit your process, gracefully (if possible)
Exit,close,kill,shutdown app completely for React Native on iOS and Android.