Get the operating system CPU architecture
MIT License
Bot releases are visible (Hide)
Published by sindresorhus 12 months ago
🦄
Check whether a binary version satisfies a semver range
Get or check the current macOS version
Check if the operating system CPU architecture is 64-bit or 32-bit (Supports browsers)
Get the name of the current operating system. Example: macOS Sierra
Get the name of the current operating system
Get running processes
Check if the process is running inside Windows Subsystem for Linux (Bash on Windows)
Get the name and version of a macOS release from the Darwin version
Check whether a file can be executed
Check which JavaScript environment your code is running in at runtime: browser, Node.js, Bun, etc
Get the name of a Windows version from the release number: 5.1.2600 → XP
Get the version of a binary in semver format
List of platforms supported by Node.js
List of processor architectures supported by Node.js
Tiny hashing module that uses the native crypto API in Node.js and the browser