1.0.3 • Published 7 years ago

is-windows-bash v1.0.3

Weekly downloads
265
License
MIT
Repository
github
Last release
7 years ago

is-windows-bash

Exports a function that returns true if the script is running in a Windows Bash environment (WSL) and false otherwise.

Usage

$ npm install is-windows-bash --save
const isWindowsBash = require('is-windows-bash');

if (isWindowsBash()) {
  console.log('Welcome to the future');
}