Search results
71 packages found
A replacement for process.exit that ensures stdio are fully drained before exiting.
Execute a function on exit without leaking memory, allowing all objects to be garbage collected
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
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 a function on exit without leaking memory, allowing all objects to be garbage collected
Execute custom cleanup function before Node.js exits
Spawn a dependent child process.
Run some code when the process exits (supports async hooks and pm2 clustering)
Terminal loading effect.
Register tasks to perform when the process exits.
Exit the process when the `esc` key is pressed
Run multiple processes and correctly return exit codes through the parent process, write out specific text on any failure (good for reporting to CI tools like TeamCity or Jenkins), run concurrently or one after the other
Make your hoagie program exec to another process
Execute a callback when the process exits, passing the exit code (ESM/CJS)
`setTimeout` and `setInterval` with `unref` and `ref` like in node.js
simple graceful exit with zero dependencies
Gracefully shutdown your modular NodeJS application
run a command but wait on the parent