main
Last change
on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
326 bytes
|
Rev | Line | |
---|
[d24f17c] | 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;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.