Search results

1000+ packages found

Get the PATH environment variable key cross-platform

published version 4.0.0, 4 years ago2281 dependents licensed under $MIT
442,621,341

Cross platform child_process#spawn and child_process#spawnSync

published version 7.0.6, 6 months ago10416 dependents licensed under $MIT
416,568,401

Convert Windows backslash paths to slash paths

published version 5.1.0, 2 years ago4010 dependents licensed under $MIT
396,654,695

Human-friendly process signals

published version 8.0.1, 2 months ago1326 dependents licensed under $Apache-2.0
301,790,129

Check if the process is running inside Windows Subsystem for Linux (Bash on Windows)

published version 3.1.0, 2 years ago2207 dependents licensed under $MIT
212,685,701

Colored symbols for various log levels. Example: `✔︎ Success`

published version 7.0.1, 10 days ago5791 dependents licensed under $MIT
191,267,394

Returns true if the platform is windows. UMD module, works with node.js, commonjs, browser, AMD, electron, etc.

published version 1.0.2, 7 years ago1229 dependents licensed under $MIT
101,099,329

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.

published version 2.0.1, 5 years ago1449 dependents licensed under $MIT
60,136,268

Check which JavaScript environment your code is running in at runtime: browser, Node.js, Bun, etc

published version 1.1.0, a year ago25 dependents licensed under $MIT
36,394,095

Run scripts that set and use environment variables across platforms

published version 7.0.3, 4 years ago6860 dependents licensed under $MIT
37,875,156

Returns true if a filepath is a windows UNC file path.

published version 1.0.0, 8 years ago376 dependents licensed under $MIT
30,230,756

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.

published version 0.1.2, 9 years ago379 dependents licensed under $MIT
30,393,300

Convert Windows file paths to unix paths.

published version 1.0.0, 8 years ago138 dependents licensed under $MIT
18,728,579

Mapping between standard locale identifiers and Windows locale identifiers (LCID)

published version 5.0.0, a year ago304 dependents licensed under $MIT
23,473,031

Operating system specific paths.

published version 1.2.2, 9 years ago82 dependents licensed under $MIT
23,326,132

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

published version 8.0.3, 3 months ago364 dependents licensed under $MIT
22,432,094

Get the name of the current operating system. Example: macOS Sierra

published version 6.1.0, 9 days ago601 dependents licensed under $MIT
14,892,178

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.

published version 1.1.1, 7 years ago325 dependents licensed under $MIT
13,451,347

Get the name of a Windows version from the release number: `5.1.2600` → `XP`

published version 6.1.0, 10 days ago395 dependents licensed under $MIT
14,571,633

Advanced, lightweight system and OS information library

published version 5.27.1, 6 days ago851 dependents licensed under $MIT
8,361,077