![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/vreg/node_modules/is-wsl/ |
# is-wsl [](https://travis-ci.org/sindresorhus/is-wsl) > Check if the process is running inside [Windows Subsystem for Linux](https://msdn.microsoft.com/commandline/wsl/about) (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 ```js const isWsl = require('is-wsl'); // When running inside Windows Subsystem for Linux console.log(isWsl); //=> true ``` ## License MIT © [Sindre Sorhus](https://sindresorhus.com)