Boolean indicating if the current process is running on Windows.
var isWindows = require( '@stdlib/utils/is-windows' );
Boolean
indicating if the current process is running on Windows.
console.log( isWindows );
// returns <boolean>
var isWindows = require( '@stdlib/utils/is-windows' );
if ( isWindows ) {
console.log( 'Running on Windows...' );
} else {
console.log( 'Running on %s...', process.platform );
}