Search results

1000+ packages found

Get the PATH environment variable key cross-platform

published version 4.0.0, 4 years ago2195 dependents licensed under $MIT
270,697,782

Convert Windows backslash paths to slash paths

published version 5.1.0, 2 years ago3856 dependents licensed under $MIT
243,997,320

Cross platform child_process#spawn and child_process#spawnSync

published version 7.0.6, 2 months ago10153 dependents licensed under $MIT
259,719,458

Human-friendly process signals

published version 8.0.0, 6 months ago1285 dependents licensed under $Apache-2.0
195,443,176

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

published version 3.1.0, a year ago2161 dependents licensed under $MIT
130,864,869

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

published version 7.0.0, 5 months ago5711 dependents licensed under $MIT
116,551,080

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 ago1214 dependents licensed under $MIT
61,836,733

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, 4 years ago1425 dependents licensed under $MIT
38,365,441

Run scripts that set and use environment variables across platforms

published version 7.0.3, 4 years ago6649 dependents licensed under $MIT
22,930,119

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

published version 1.1.0, 8 months ago13 dependents licensed under $MIT
20,146,523

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

published version 1.0.0, 8 years ago365 dependents licensed under $MIT
18,809,257

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 ago368 dependents licensed under $MIT
18,980,510

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

published version 5.0.0, 9 months ago304 dependents licensed under $MIT
16,982,527

Operating system specific paths.

published version 1.2.2, 8 years ago79 dependents licensed under $MIT
16,157,433

Convert Windows file paths to unix paths.

published version 1.0.0, 8 years ago137 dependents licensed under $MIT
10,417,374

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.2, 10 days ago348 dependents licensed under $MIT
12,220,184

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, 6 years ago324 dependents licensed under $MIT
9,328,967

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

published version 6.0.0, a year ago589 dependents licensed under $MIT
9,108,311

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

published version 6.0.1, 7 months ago386 dependents licensed under $MIT
8,961,230

Advanced, lightweight system and OS information library

published version 5.25.11, 7 days ago797 dependents licensed under $MIT
6,372,539