Showing 1-20 of 1,558,239 packages
Run binaries from node, with easy stdout/stderr manipulation + signal passthrough + exit code propagation.
`process.exitCode` behavior back-ported from io.js and Node.js 0.12+
Execute a callback when the process exits, passing the exit code (ESM/CJS)
Cross-platform CLI wrapper that runs any command and exits with zero
Terminate Node-RED by setting exit code.
Duplexes stdout and stderr to a file, like tee, but also forwards the exit code of the original process
Execute a command inside a sprite and return the output with exit code
Scan a user's NPM tokens and fail with exit code 1 if any exceed a maximum age in days.
Node.js program finisher - run your last callback with `exit code` and `signal name` as arguments
Fail with an error message and a correct exit code
when you want to fire an event no matter how a process exits.
Webpack plugin that provides an exit code if there are compilation errors.
Receives streaming TAP, passes it through, and sets the process exit code to 1 if there are any failing tests.
A replacement for process.exit that ensures stdio are fully drained before exiting.
Run generated binaries having last exit code in a map
Sets the exit code appropriately, given some tap output.
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
Run some code when the process exits
Run some code when the process exits (supports async hooks and pm2 clustering)