Big update!Introducing GitHub Bot Commands. Learn more
Socket
BlogLoveLog in
Book a demo

is-wsl

Package Overview
Dependencies
1
Maintainers
1
Versions
6
Issues
File Explorer

Advanced tools

is-wsl

Check if the process is running inside Windows Subsystem for Linux (Bash on Windows)

    2.2.0latest

Version published
Maintainers
1
Weekly downloads
35,861,823
increased by2.15%

Weekly downloads

Changelog

Source

  • Check for Docker running in WSL (#7) bb99257

https://github.com/sindresorhus/is-wsl/compare/v2.1.1...v2.2.0

Readme

Source

is-wsl Build Status

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

const isWsl = require('is-wsl'); // When running inside Windows Subsystem for Linux console.log(isWsl); //=> true
Get professional support for this package with a Tidelift subscription
Tidelift helps make open source sustainable for maintainers while giving companies
assurances about security, maintenance, and licensing for their dependencies.

Keywords

FAQs

What is is-wsl?

Check if the process is running inside Windows Subsystem for Linux (Bash on Windows)

Is is-wsl popular?

The npm package is-wsl receives a total of 34,376,845 weekly downloads. As such, is-wsl popularity was classified as popular.

Is is-wsl well maintained?

We found that is-wsl demonstrated a not healthy version release cadence and project activity because the last version was released a year ago.It has 1 open source maintainer collaborating on the project.

Last updated on 03 May 2020
Socket

Product

Subscribe to our newsletter

Get open source security insights delivered straight into your inbox. Be the first to learn about new features and product updates.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc