is-wsl

WebJar for is-wsl

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

is-wsl
Last Version

Last Version

2.2.0
Release Date

Release Date

Type

Type

jar
Description

Description

is-wsl
WebJar for is-wsl
Project URL

Project URL

https://www.webjars.org
Source Code Management

Source Code Management

https://github.com/sindresorhus/is-wsl

Download is-wsl

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/is-wsl/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>is-wsl</artifactId>
    <version>2.2.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/is-wsl/
implementation 'org.webjars.npm:is-wsl:2.2.0'
// https://jarcasting.com/artifacts/org.webjars.npm/is-wsl/
implementation ("org.webjars.npm:is-wsl:2.2.0")
'org.webjars.npm:is-wsl:jar:2.2.0'
<dependency org="org.webjars.npm" name="is-wsl" rev="2.2.0">
  <artifact name="is-wsl" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='is-wsl', version='2.2.0')
)
libraryDependencies += "org.webjars.npm" % "is-wsl" % "2.2.0"
[org.webjars.npm/is-wsl "2.2.0"]

Dependencies

compile (1)

Group / Artifact Type Version
org.webjars.npm : is-docker jar [2.0.0,3)

Project Modules

There are no modules declared in this project.

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.

Versions

Version
2.2.0
2.1.1
2.1.0
1.1.0