binary-info

Native node module to get the platform and architecture of a binary

is-windows

Returns true if the platform is windows. UMD module, works with node.js, commonjs, browser, AMD, electron, etc.