Semver Version Checker

Check if a specific semantic version satisfies an NPM-style constraint (like ^1.0.0 or ~2.1.x). Understand your version breakdown and view all future bumped versions instantly.

^1.1.1
1.1.1

How to Read Semver (Semantic Versioning)

Semantic versioning (SemVer) is the standard for versioning software. A version number is written as MAJOR.MINOR.PATCH (e.g. 2.1.4).

  • MAJOR version when you make incompatible API changes. 2.0.0
  • MINOR version when you add functionality in a backwards compatible manner. 1.2.0
  • PATCH version when you make backwards compatible bug fixes. 1.1.2

Additional labels for pre-release and build metadata are available as extensions to the MAJOR.MINOR.PATCH format (e.g. 1.0.0-alpha.1+build.123).

Understanding NPM Version Constraints

Constraints allow you to specify a range of acceptable versions, most commonly used in `package.json` files.

  • Caret (^): Allows changes that do not modify the left-most non-zero element. ^1.2.3 matches >=1.2.3 <2.0.0. ^0.2.3 matches >=0.2.3 <0.3.0.
  • Tilde (~): Allows patch-level changes if a minor version is specified. ~1.2.3 matches >=1.2.3 <1.3.0.
  • Exact (=): Matches an exact version. 1.2.3 or =1.2.3 only matches exactly that version.
  • Wildcard (*): Matches any version. You can also use 1.x or 1.2.x.
semverversionnpmconstraintdeveloperutility