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