Search results
34 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
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 code when the js-process exits. On all javascript-environments
A simple and powerful async abstraction lib for easily writing Node.js code.
Run some code when the process exits (supports async hooks and pm2 clustering)
spawn() that returns a duplex stream and emits errors with stderr data on non-zero exit codes
Execute a callback when the process exits, passing the exit code (ESM/CJS)
Receives streaming TAP, passes it through, and sets the process exit code to 1 if there are any failing tests.
All in one solution to gracefully shutdown your application through a simple delayed shutdown process. Also allows code reloading and program restarting, instead of using a not so graceful process manager line nodemon.
A simple TAP reporter that outputs the existing TAP to the console but ensure the exit code is one if any tests report fail or error levels.
Standard system exit codes
Make child_process objects emit 'close' events in node v0.6 like they do in v0.8. This makes it easier to write code that works correctly on both version of node.
CJS version: Human-friendly process signals
- signal
- signals
- handlers
- error-handling
- errors
- interrupts
- sigterm
- sigint
- irq
- process
- exit
- exit-code
- status
- operating-system
- View more
Fail with an error message and a correct exit code
Typed CLI argv parser and main function wrapper
Run some code when the process exits (supports async hooks and pm2 clustering)
Provide standard sysexits(3) exit codes.
CLI utility that parses argv and passes it into the default export of a file
Gives the ability to execute code upon closing a Node.js application.