Search npm for packages to use with Deno
Add them to your projects with a simple command that will already feel familar.
path-key
Get the PATH environment variable key cross-platform
slash
Convert Windows backslash paths to slash paths
cross-spawn
Cross platform child_process#spawn and child_process#spawnSync
human-signals
Human-friendly process signals
is-wsl
Check if the process is running inside Windows Subsystem for Linux (Bash on Windows)
log-symbols
Colored symbols for various log levels. Example: `✔︎ Success`
is-windows
Returns true if the platform is windows. UMD module, works with node.js, commonjs, browser, AMD, electron, etc.
upath
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.
cross-env
Run scripts that set and use environment variables across platforms
environment
Check which JavaScript environment your code is running in at runtime: browser, Node.js, Bun, etc
unc-path-regex
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.
is-unc-path
Returns true if a filepath is a windows UNC file path.
lcid
Mapping between standard locale identifiers and Windows locale identifiers (LCID)
ospath
Operating system specific paths.
unixify
Convert Windows file paths to unix paths.
wait-on
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
os-name
Get the name of the current operating system. Example: macOS Sierra
window-size
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.
windows-release
Get the name of a Windows version from the release number: `5.1.2600` → `XP`
systeminformation
Advanced, lightweight system and OS information library