Package
is-windows
Returns true if the platform is windows. UMD module, works with node.js, commonjs, browser, AMD, electron, etc.
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 27.1m
- +30% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 0
- Direct, from package.json
- Last release
- 8 years ago
- v1.0.2
- GitHub stars
- 49
- 12 forks
- Open issues / PRs
- 0 / 0
- Contributors
- -
- Commits, last 52 weeks
- 0
Downloads
Last week 2026-09-15 to 2026-09-21
27,138,483 downloads last week, 127,038,111 in the last month. The 12-month change of +30% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 06 in total
- Latest version
- 1.0.2, 14 Feb 20188 years ago
- First published
- 11 Jul 2015
- Last push to GitHub
- 16 Jun 20192,657 days before the snapshot
- Repository archived
- Yes
- Open issues
- 0
- Open pull requests
- 0
- Commits, last 52 weeks
- 0
- Dependents on npm
- 1,065
Major versions
- v1 first release 1.0.0, 8 Dec 2016
- v0 first release 0.1.0, 11 Jul 2015
Recent releases
| Version | Published |
|---|---|
| 1.0.2 | 14 Feb 2018 |
| 1.0.1 | 28 Apr 2017 |
| 1.0.0 | 8 Dec 2016 |
| 0.2.0 | 5 Jun 2016 |
| 0.1.1 | 21 Dec 2015 |
| 0.1.0 | 11 Jul 2015 |
- Module format
- CommonJSFrom package.json type, main and exports fields
- TypeScript types
- None
- Node.js engine range
- >=0.10.0
- Runtimes
- -
- Unpacked size (npm)
- 7.8 kB
- Dependencies (0)
- None
npm install is-windows- jsDelivr
https://cdn.jsdelivr.net/npm/is-windows@1.0.2/ - unpkg
https://unpkg.com/is-windows@1.0.2/ - esm.sh
https://esm.sh/is-windows@1.0.2
Indexability: Indexed.