Search results
1000+ packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
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.
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
Enter/exit a state
Run some code when the process exits
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
Spawn a dependent child process.
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.
Fabulously kill processes. Cross-platform.
exiting a node.js process *and flushing stdout and stderr*
Exit your process, gracefully (if possible)
Exit,close,kill,shutdown app completely for React Native on iOS and Android.
Easily mock NodeJS process properties in Jest