Skip to content
JS
Package

is-windows

Returns true if the platform is windows. UMD module, works with node.js, commonjs, browser, AMD, electron, etc.

v1.0.2, 14 Feb 2018MITCommonJSTypes: NoneNode.js utilitiesDOM and browser utilities
$ npm install is-windows

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
010m20m30m40mSept 2025Mar 2026Sept 2026High 35.8m (25 Aug 2026)Low 12.1m (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

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

  1. v1 first release 1.0.0, 8 Dec 2016
  2. v0 first release 0.1.0, 11 Jul 2015

Recent releases

VersionPublished
1.0.214 Feb 2018
1.0.128 Apr 2017
1.0.08 Dec 2016
0.2.05 Jun 2016
0.1.121 Dec 2015
0.1.011 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
  • jsDelivrhttps://cdn.jsdelivr.net/npm/is-windows@1.0.2/
  • unpkghttps://unpkg.com/is-windows@1.0.2/
  • esm.shhttps://esm.sh/is-windows@1.0.2
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.