Package
is-wsl
Check if the process is running inside Windows Subsystem for Linux (Bash on Windows)
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 101.3m
- +100% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 1
- Direct, from package.json
- Last release
- 7 months ago
- v3.1.1
- GitHub stars
- 199
- 9 forks
- Open issues / PRs
- 0 / 0
- Contributors
- 7
- Commits, last 52 weeks
- 4
Downloads
Last week 2026-09-15 to 2026-09-21
101,341,330 downloads last week, 482,047,338 in the last month. The 12-month change of +100% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 19 in total
- Latest version
- 3.1.1, 15 Feb 20267 months ago
- First published
- 16 Apr 2017
- Last push to GitHub
- 18 Sept 20266 days before the snapshot
- Repository archived
- No
- Open issues
- 0
- Open pull requests
- 0
- Commits, last 52 weeks
- 4
- Dependents on npm
- 2,038
Major versions
- v3 first release 3.0.0, 8 Aug 2023
- v2 first release 2.0.0, 23 Apr 2019
- v1 first release 1.0.0, 16 Apr 2017
Recent releases
| Version | Published |
|---|---|
| 3.1.1 | 15 Feb 2026 |
| 3.1.0 | 25 Sept 2023 |
| 3.0.0 | 8 Aug 2023 |
| 2.2.0 | 3 May 2020 |
| 2.1.1 | 23 Sept 2019 |
| 2.1.0 | 23 Jun 2019 |
| 2.0.0 | 23 Apr 2019 |
| 1.1.0 | 17 Apr 2017 |
| 1.0.0 | 16 Apr 2017 |
- Module format
- ESM onlyFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- >=16
- Runtimes
- -
- Unpacked size (npm)
- 3.6 kB
- Dependencies (1)
is-inside-container
npm install is-wsl- jsDelivr
https://cdn.jsdelivr.net/npm/is-wsl@3.1.1/ - unpkg
https://unpkg.com/is-wsl@3.1.1/ - esm.sh
https://esm.sh/is-wsl@3.1.1
Indexability: Indexed.