This repository has been archived on 2022-03-12. You can view files and clone it, but cannot push or open issues or pull requests.

16 lines
326 B
TypeScript
Raw Permalink Normal View History

2021-04-02 02:24:13 +03:00
/**
Check if the process is running inside [Windows Subsystem for Linux](https://msdn.microsoft.com/commandline/wsl/about) (Bash on Windows).
@example
```
import isWsl = require('is-wsl');
// When running inside Windows Subsystem for Linux
console.log(isWsl);
//=> true
```
*/
declare const isWsl: boolean;
export = isWsl;