3.1.0 • Published 7 months ago

is-wsl v3.1.0

Weekly downloads
24,536,144
License
MIT
Repository
github
Last release
7 months ago

is-wsl

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. Supports both WSL 1 and WSL 2.

Install

npm install is-wsl

Usage

import isWsl from 'is-wsl';

// When running inside Windows Subsystem for Linux
console.log(isWsl);
//=> true
node-notifieropnopenclipboardycli-uxuglifyjs-webpack-plugin@oclif/configcuc-gaf@prisma/internals@prisma/sdk@remote.it/serverless@savaleukhin/react-scripts@procore/core-scriptsastrojs-telemetry-no-undiciarchetype-librarycomponennentteasy-select-rnreact-wind-uivuedragdropuploadimagesplafform-scriptspopsmart-common-authreact-native-bluetooth2killi8n-react-native-fast-imagecomatch-mvp-debuggingjbojcic-react-scripts@st4rfox/electron-scriptssv-component-librarysv-component-library-1sv-component-library-2@thuanpq/airvert-uimio-cli-service@katalabut/react-scriptsyadong-reactthefarm-react-scripts@wywk/headquaters-marketing-eventconcord-ui-plugin-react-scriptssebrae-boilerplatesebrae-react-scripts@cloudhuset/zd-app-react-scriptstm-components-testaerolito-nextrn-send-smsjs-advancedplatinion-paris-react-components@ashversache/toasterspecify-importsbabel-specify-imports@icanpm/api-masterbritive-cli-test1xianzhengquan-react-scripts@arisageha/react-lazyloadsimple-react-image-browserezboblucas-montenegro-react-scriptstd-react-scriptscomatch-create-react-mvp-scripts@guomio/cli-service@stefanprobst/react-scriptslocal-barbershop-react-scriptspurgecss-react-scriptsreact-scripts-owitho-newbadass-react-scriptsreact-native-template-rfbase@deboxsoft/webpack@deboxsoft/devel-reactwinraderairscanairscan-examplebb-chat@robbie-cook/avenue-cireact-native-esc-pos-sahaab@borisovart/atol-kkt-module@frxf/frxfdebug-yanyongqi-react@typhonjs-oclif/configdeneme323112sd-react-scriptsjbidston-cra-scripts@vzn/cli@texttree/demo-bsa-reference-rcl@robmayer/react-scriptsnodewire-react-scripts@fundefund/funde_ckebs-react-scripts-test1ebs-react-scripts-test2@ntt_app/react-native-custom-notification@loht03/react-scriptsreact-native-custom-text-hwjamesdxp_react_template@compassdigital/talos@sotah-inc/client-local-devcomatch-mvpreact-native-covid-sdkstrapi-new-admingql_din_mod@wywk/app-user-management@wywk/customer-service@wywk/marketing-management@wywk/shop-management@wywk/work-sheet-management
3.1.0

7 months ago

3.0.0

8 months ago

2.2.0

4 years ago

2.1.1

5 years ago

2.1.0

5 years ago

2.0.0

5 years ago

1.1.0

7 years ago

1.0.0

7 years ago