Check if the operating system CPU architecture is 64-bit or 32-bit (Supports browsers)
MIT License
Bot releases are hidden (Show)
Published by sindresorhus 12 months ago
🦄
List of processor architectures supported by Node.js
Get the operating system CPU architecture
List of platforms supported by Node.js
Get or check the current macOS version
Check whether a binary version satisfies a semver range
Check which JavaScript environment your code is running in at runtime: browser, Node.js, Bun, etc
Check if the process is running inside Windows Subsystem for Linux (Bash on Windows)
Check if a string is an IP address
Check if servers are reachable
Get the version of a binary in semver format
Get the name of the current operating system. Example: macOS Sierra
Check whether a file can be executed
Check if the internet connection is up
Get the name of a Windows version from the release number: 5.1.2600 → XP