is-wsl
Install
$ npm install --save is-wslUsage
const isWsl = require('is-wsl');
// When running inside Windows Subsystem for Linux
console.log(isWsl);
//=> trueLicense
Last updated
$ npm install --save is-wslconst isWsl = require('is-wsl');
// When running inside Windows Subsystem for Linux
console.log(isWsl);
//=> trueLast updated