windows-release

Get the name of a Windows version from the release number: `5.1.2600` → `XP`
v6.1.0 URL: https://unpkg.com/windows-release@6.1.0/index.js
OpenBrowse Files
oswinwin32windowsoperatingsystemplatformnametitlereleaseversion

os-name

Get the name of the current operating system. Example: macOS Sierra
v6.1.0 URL: https://unpkg.com/os-name@6.1.0/index.js
OpenBrowse Files
osoperatingsystemplatformnametitlereleaseversionmacoswindowslinux

macos-release

Get the name and version of a macOS release from the Darwin version
v3.4.0 URL: https://unpkg.com/macos-release@3.4.0/index.js
OpenBrowse Files
macososdarwinoperatingsystemplatformnametitlereleaseversion

environment

Check which JavaScript environment your code is running in at runtime: browser, Node.js, Bun, etc
v1.1.0 URL: https://unpkg.com/environment@1.1.0/index.js
OpenBrowse Files
runtimeenvironmentenvexecutionengineplatformcontextjsjavascriptischeckcheckingdetectdetectionbrowsernodebundenoelectronjsdomwebworkerworkerserviceworkermacosiosiphoneipadwindowslinuxandroidosoperatingsystem

os-family

Guess what? It gives you OS family. Whoa!
v1.1.0 URL: https://unpkg.com/os-family@1.1.0/index.js
OpenBrowse Files
osfamilytypeoperatingsystemname