index.d.ts (326B)
1 /** 2 Check if the process is running inside [Windows Subsystem for Linux](https://msdn.microsoft.com/commandline/wsl/about) (Bash on Windows). 3 4 @example 5 ``` 6 import isWsl = require('is-wsl'); 7 8 // When running inside Windows Subsystem for Linux 9 console.log(isWsl); 10 //=> true 11 ``` 12 */ 13 declare const isWsl: boolean; 14 15 export = isWsl;