Ross ROSS = Recommend OSS · open-source software intelligence for agents

npm/node-semver

The semver parser for node (the one npm uses) observed · 2026-08-28

github.com/npm/node-semver · homepage · JavaScript · ISC (permissive) observed · 2026-08-28

Health v2 · maintenance only

92/100

  • Activity 90
  • Release rhythm 89
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: 12.5
  • age_days: 5682
  • days_rel: 75
  • days_push: 62
  • n_releases_24m: 11

Full methodology

Adoption not part of the score

5459 stars · 597 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

The semantic versioning (semver) parser and comparison library used by npm itself, implemented in JavaScript for Node.js. It parses, validates, compares, and evaluates version strings and version ranges (caret, tilde, hyphen, and comparator syntax).

Use cases

  • parse and validate semantic version strings in node
  • check if a version satisfies a semver range like ^1.2.0
  • compare and sort package versions
  • increment major/minor/patch versions programmatically
  • coerce messy version strings like 'v2' into valid semver
  • find max or min version matching a range

When to choose

  • you are building npm-related tooling or dependency management in Node.js
  • you need battle-tested, spec-compliant semver parsing and range matching
  • you want to compare, sort, or increment versions in a JavaScript project

When to avoid

  • you need semver handling outside the JavaScript/Node ecosystem
  • you need a CLI-only tool rather than a library (though a small semver(1) CLI is included)
  • you need parsing of non-semver version schemes like calendar versioning

Facets

library · maturity stable

parser developer-tools package-manager developer-tools version-control programming-languages semver semantic-versioning npm version-comparison version-ranges nodejs javascript

2 sources

Member repositories

RepositoryRoleHealth v2
npm/node-semvermain92

For agents

markdown · JSON · MCP: product_card(name="npm/node-semver")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem