HomeDeveloper toolsSemVer Range Intersection

SemVer Range Intersection

Check whether two npm semantic version ranges overlap.

Processing stays in your browser. Uses npm semver rules and standard prerelease exclusion. Reports overlap, not a canonical simplified intersection expression.

How to use the semver range intersection

Check whether two npm semantic version ranges overlap. Complete the first range, second range fields above. Choose Run tool, review the output, then copy or download the result.

Example

^1.2.0 and >=1.5.0 <2.0.0 overlap.

Good to know

Uses npm semver rules and standard prerelease exclusion. Reports overlap, not a canonical simplified intersection expression.