Get the name of a Windows version from the release number: 5.1.2600 → XP
MIT License
Check which JavaScript environment your code is running in at runtime: browser, Node.js, Bun, etc
Get the latest version of an npm package
Get the version of a binary in semver format
Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`
Check if the process is running inside Windows Subsystem for Linux (Bash on Windows)
Get the version numbers of a package from the npm registry
Get the name and version of a macOS release from the Darwin version
Get the system locale
Get metadata about the active window and open windows (title, id, bounds, owner, etc)
Get the name of the current operating system. Example: macOS Sierra
Get the operating system CPU architecture
Check if the operating system CPU architecture is 64-bit or 32-bit (Supports browsers)
Get or check the current macOS version
Get the name of the current operating system