wsl-utils
npmv0.4.0TypeScriptUtilities for working with Windows Subsystem for Linux (WSL)
Overview
wsl-utils is an npm package that utilities for working with Windows Subsystem for Linux (WSL). It is extremely widely used, with about 45.9M downloads per week and 1 known dependents in the graph. The latest version is 0.4.0, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need utilities for working with Windows Subsystem for Linux (WSL) and value a battle-tested, widely-adopted 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
- Large, well-established user base (45.9M weekly downloads).
- 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 wsl-utils.
Dependencies
Runtime (2)
Dev (3)
Used by
Popular packages that depend on wsl-utils.
Alternatives to wsl-utils
Check if the process is running inside Windows Subsystem for Linux (Bash on Windows)
Cross platform child_process#spawn and child_process#spawnSync
Convert Windows backslash paths to slash paths
Colored symbols for various log levels. Example: `✔︎ Success`
Get paths for storing things like data, config, cache, etc
Get the default browser
Get the PATH environment variable key cross-platform
Some useful utilities I often need
A collection of essential TypeScript types
Frequently installed together
TypeScript definitions for node
Define a lazily evaluated property on an object
Get the default browser
Check if the process is running in an SSH session
Check if the process is running inside a container (Docker/Podman)
Version history
| Version | Published | License |
|---|---|---|
| 0.4.0latest | 5 months ago | MIT |
| 0.3.1 | 6 months ago | MIT |
| 0.3.0 | 8 months ago | MIT |
| 0.2.0 | 8 months ago | MIT |
| 0.1.0 | 1 year ago | MIT |
Maintainers
Funding
Frequently asked questions
How do I install wsl-utils?
Run `npm install wsl-utils` to add wsl-utils to your npm project.
What license is wsl-utils released under?
wsl-utils is distributed under the MIT license.
How popular is wsl-utils?
wsl-utils has approximately 45,894,551 downloads per week and 1 known dependent packages.