Semver comparator
Semantic version number comparison, range detection and sorting
Version comparison
=
Range detection
Common range expression examples (click to use)
^1.2.3
= >=1.2.3 <2.0.0
~1.2.3
= >=1.2.3 <1.3.0
1.2.x
= >=1.2.0 <1.3.0
1.x
= >=1.0.0 <2.0.0
>=1.0.0
Greater than or equal to
<2.0.0
less than
>=1.0.0 <2.0.0
Range
1.0.0 || 2.0.0
or