Skip to content
JS
Package

version-compare

Comparator to determine if a version is less than, equivalent to, or greater than another version

v3.12.0, 8 Aug 2025Artistic-2.0ESM + CommonJSTypes: BundledTypeScript tooling
$ npm install version-compare

Key numbers

As of 25 Sept 2026
Weekly downloads
15.8k
+103% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
1 year ago
v3.12.0
GitHub stars
-
Open issues / PRs
- / -
Contributors
-
Commits, last 52 weeks
-

Downloads

Last week 2026-09-15 to 2026-09-21
05k10k15k20kSept 2025Mar 2026Sept 2026High 15.7k (15 Sept 2026)Low 1.9k (30 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

15,758 downloads last week, 40,770 in the last month. The 12-month change of +103% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
3.12.0, 8 Aug 20251 year ago
First published
-
Last push to GitHub
-
Repository archived
-
Open issues
-
Open pull requests
-
Commits, last 52 weeks
-
Dependents on npm
14

Major versions

-

Recent releases

-

Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=4
Runtimes
-
Unpacked size (npm)
48 kB
Dependencies (1)
editions
npm install version-compare
  • jsDelivrhttps://cdn.jsdelivr.net/npm/version-compare@3.12.0/
  • unpkghttps://unpkg.com/version-compare@3.12.0/
  • esm.shhttps://esm.sh/version-compare@3.12.0
PackageWeekly downloadsGzipLast releaseModuleComparison
version-range1.6m-1 year ago--
Sources: npm registry, npm downloads API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): GitHub data not fetched yet.