Search results
1000+ packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
Get the PATH environment variable key cross-platform
Cross platform child_process#spawn and child_process#spawnSync
Convert Windows backslash paths to slash paths
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 Windows Subsystem for Linux (Bash on Windows)
Colored symbols for various log levels. Example: `✔︎ Success`
Returns true if the platform is windows. UMD module, works with node.js, commonjs, browser, AMD, electron, etc.
A proxy to `path`, replacing `\` with `/` for all results (supports UNC paths) & new methods to normalize & join keeping leading `./` and add, change, default, trim file extensions.
- path
- unix
- windows
- extension
- file extension
- replace extension
- change extension
- trim extension
- add extension
- default extension
- UNC paths
Check which JavaScript environment your code is running in at runtime: browser, Node.js, Bun, etc
- runtime
- environment
- env
- execution
- engine
- platform
- context
- js
- javascript
- is
- check
- checking
- detect
- detection
- View more
Run scripts that set and use environment variables across platforms
Returns true if a filepath is a windows UNC file path.
Regular expression for testing if a file path is a windows UNC file path. Can also be used as a component of another regexp via the `.source` property.
Convert Windows file paths to unix paths.
Mapping between standard locale identifiers and Windows locale identifiers (LCID)
Operating system specific paths.
wait-on is a cross platform command line utility and Node.js API which will wait for files, ports, sockets, and http(s) resources to become available
Get the name of the current operating system. Example: macOS Sierra
Reliable way to get the height and width of terminal/console, since it's not calculated or updated the same way on all platforms, environments and node.js versions.
Get the name of a Windows version from the release number: `5.1.2600` → `XP`
Advanced, lightweight system and OS information library
- system information
- sysinfo
- monitor
- monitoring
- os
- linux
- osx
- windows
- freebsd
- openbsd
- netbsd
- cpu
- cpuload
- physical cores
- View more