Search results
1000+ packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
Modeling arrival processes of events in a system.
Check if argv has a specific flag
Process execution for humans
Human-friendly process signals
- signal
- signals
- handlers
- error-handling
- interrupts
- sigterm
- sigint
- irq
- process
- exit
- exit-code
- status
- operating-system
- es6
- View more
Check if the process is running inside a Docker container
Gracefully restore the CLI cursor on exit
Check if the process is running inside Windows Subsystem for Linux (Bash on Windows)
Open stuff like URLs, files, executables. Cross-platform.
process information for node.js and browsers
A replacement for process.exit that ensures stdio are fully drained before exiting.
Returns true if the platform is windows. UMD module, works with node.js, commonjs, browser, AMD, electron, etc.
kill trees of processes
Get stdin as a string or buffer
Cross platform children list of a PID
parse, inspect, transform, and serialize content through syntax trees
small commonmark compliant markdown parser with positional info and concrete tokens
Some useful utilities I often need
Check if the process is running inside a container (Docker/Podman)
Serialize/deserialize an error into a plain object
Execute a function on exit without leaking memory, allowing all objects to be garbage collected