Search results
1000+ 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
Execute code when the js-process exits. On all javascript-environments
Spawn a dependent child process.
Run some code when the process exits (supports async hooks and pm2 clustering)
installs custom cleanup handlers that run on exiting node
Cleanly exit process on EPIPE
Execute a function right before the process, or the browser's tab, is about to exit.
A replacement for process.exit that ensures stdio are fully drained before exiting.
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.