is-windows
Returns true if the platform is windows. UMD module, works with node.js, commonjs, browser, AMD, electron, etc.
environment
Check which JavaScript environment your code is running in at runtime: browser, Node.js, Bun, etc
os-name
Get the name of the current operating system. Example: macOS Sierra