Search results

1000+ packages found

Get the PATH environment variable key cross-platform

published version 4.0.0, 4 years ago2283 dependents licensed under $MIT
452,129,030

Convert Windows backslash paths to slash paths

published version 5.1.0, 2 years ago4010 dependents licensed under $MIT
405,821,327

Cross platform child_process#spawn and child_process#spawnSync

published version 7.0.6, 7 months ago10430 dependents licensed under $MIT
426,771,703

Human-friendly process signals

published version 8.0.1, 2 months ago1325 dependents licensed under $Apache-2.0
307,054,441

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
216,881,783

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

published version 7.0.1, 18 days ago5796 dependents licensed under $MIT
196,691,756

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
104,804,523

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
63,752,175

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

published version 1.1.0, a year ago24 dependents licensed under $MIT
36,731,768

Run scripts that set and use environment variables across platforms

published version 7.0.3, 5 years ago6879 dependents licensed under $MIT
38,285,627

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

published version 1.0.0, 8 years ago377 dependents licensed under $MIT
30,539,907

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 ago380 dependents licensed under $MIT
30,701,838

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

published version 5.0.0, a year ago304 dependents licensed under $MIT
24,686,923

Convert Windows file paths to unix paths.

published version 1.0.0, 8 years ago138 dependents licensed under $MIT
18,852,291

Operating system specific paths.

published version 1.2.2, 9 years ago83 dependents licensed under $MIT
23,187,753

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 ago365 dependents licensed under $MIT
22,535,581

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

published version 6.1.0, 16 days ago602 dependents licensed under $MIT
15,345,011

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
14,175,538

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

published version 6.1.0, 18 days ago395 dependents licensed under $MIT
14,993,390

Advanced, lightweight system and OS information library

published version 5.27.1, 14 days ago858 dependents licensed under $MIT
8,769,595