lunaisadev-website-old/node_modules/is-wsl
Luna 4f63b4f9a0 first commit 2021-07-27 18:40:12 -07:00
..
index.js first commit 2021-07-27 18:40:12 -07:00
license first commit 2021-07-27 18:40:12 -07:00
package.json first commit 2021-07-27 18:40:12 -07:00
readme.md first commit 2021-07-27 18:40:12 -07:00

readme.md

is-wsl Build Status

Check if the process is running inside Windows Subsystem for Linux (Bash on Windows)

Can be useful if you need to work around unimplemented or buggy features in WSL.

Install

$ npm install --save is-wsl

Usage

const isWsl = require('is-wsl');

// When running inside Windows Subsystem for Linux
console.log(isWsl);
//=> true

License

MIT © Sindre Sorhus