Skip to content
Devkito

Semver Checker

Check versions against npm ranges, compare, sort and bump them.

Runs on your machine. Nothing you paste is uploaded.

Download freePricing

Get Semver Checker and 121 other tools. Free for 7 days, no account needed.

Semver Checker in Devkito

What it does

Enter an npm version range such as ^1.2.0 || ~2.0.3 and a list of versions, and see which ones match, newest first, with the highest match marked. The range is also spelled out as plain comparisons, so ^0.2.3 reads as >=0.2.3 <0.3.0-0.

Below, compare two versions to see which is newer and whether they differ in the major, minor or patch number, and see the next version for each kind of bump, including pre-releases with your own tag. Pre-releases are left out of ranges unless you include them, as npm does.

When you would reach for it

  • Check which published versions a dependency range in package.json will install.
  • Understand what a caret or tilde range allows before you widen or pin it.
  • Sort a messy list of release tags in version order.
  • Work out the next version number for a release or a beta.

Also found by searching