</>PackageGraphPackageGraph

is-wsl

npmv3.1.1TypeScript

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

0
Weekly downloads
1
Dependents
5
Dependencies
2/100
Popularity

Overview

is-wsl is an npm package that check if the process is running inside Windows Subsystem for Linux (Bash on Windows). The latest version is 3.1.1, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need check if the process is running inside Windows Subsystem for Linux (Bash on Windows) and value a focused solution.

When not to use it

Consider an alternative if you need to or if a more actively-maintained option better fits your npm stack.

Pros

  • Ships TypeScript type definitions.
  • Clear open-source license (MIT).

Cons

  • No significant drawbacks detected from available metadata.

Auto-generated from collected registry metadata. No external claims are inferred.

Relationship graph

Dependencies (left) and dependents (right) of is-wsl.

node-notifieris-wsl
is-wsl dependencies dependents

Dependencies

Runtime (1)

is-inside-container ^1.0.0

Dev (4)

ava ^5.3.1esmock ^2.3.6tsd ^0.28.1xo ^0.55.1

Used by

Popular packages that depend on is-wsl.

Alternatives to is-wsl

is-extglobnpm

Returns true if a string has an extglob.

0/wk1 dependentsMIT
is-globnpm

Returns `true` if the given string looks like a glob pattern or an extglob pattern. This makes it easy to create code that only uses external modules like node-glob when necessary, resulting in much faster code execution and initialization time, and a bet

0/wk2 dependentsMIT
colorettenpm

🌈Easily set your terminal text color & styles.

66.5M/wk1 dependentsMITTS
unicorn-magicnpm

Some useful utilities I often need

0/wk1 dependentsMIT
path-keynpm

Get the PATH environment variable key cross-platform

0/wk1 dependentsMIT
slashnpm

Convert Windows backslash paths to slash paths

0/wk1 dependentsMITTS
ci-infonpm

Get details about the current Continuous Integration environment

0/wk2 dependentsMITTS
exit-xnpm

A replacement for process.exit that ensures stdio are fully drained before exiting.

0/wk3 dependentsMITTS
@devframes/plugin-terminalsnpm

Portable, hub-native terminal panel for devframe — readonly output streaming and fully interactive PTY shells (TUI-capable).

0/wk1 dependentsMITTS
env-pathsnpm

Get paths for storing things like data, config, cache, etc

0/wk1 dependentsMITTS
cross-spawnnpm

Cross platform child_process#spawn and child_process#spawnSync

0/wk3 dependentsMIT
type-checknpm

type-check allows you to check the types of JavaScript values at runtime with a Haskell like type syntax.

0/wk1 dependentsMIT

Frequently installed together

Version history

VersionPublishedLicense
3.1.1latest5 months agoMIT
3.1.02 years agoMIT
3.0.02 years agoMIT
2.2.06 years agoMIT
2.1.16 years agoMIT
2.1.07 years agoMIT
2.0.07 years agoMIT
1.1.09 years agoMIT
1.0.09 years agoMIT

Maintainers

Keywords

Funding

Frequently asked questions

How do I install is-wsl?

Run `npm install is-wsl` to add is-wsl to your npm project.

What license is is-wsl released under?

is-wsl is distributed under the MIT license.

How popular is is-wsl?

is-wsl has approximately 0 downloads per week and 1 known dependent packages.