Returns true if the platform is windows. UMD module, works with node.js, commonjs, browser, AMD, electron, etc.
Regular expression for testing if a file path is a windows UNC file path. Can also be used as a component of another regexp via the .source
property.
Returns true if a filepath is a windows UNC file path.
Get the name of a Windows version from the release number: 5.1.2600
→ XP
Reliable way to get the height and width of terminal/console, since it's not calculated or updated the same way on all platforms, environments and node.js versions.