Caret range
Version: 1.4.0 Range: ^1.2.3
Satisfies — ^1.2.3 allows any 1.x.y at or above 1.2.3, but not 2.0.0.
Compare two semantic versions or check whether a version satisfies a range.
Was this tool useful?
Semantic Versioning (semver) gives a version number — major.minor.patch, e.g. 2.4.1 — a precise meaning: a major bump can break compatibility, a minor bump adds functionality safely, and a patch fixes bugs without changing the API. Package managers like npm compare and constrain versions using this exact rule set.
This tool implements the comparison and the common range operators (>=, <=, ^, ~) so you can check, without installing anything, whether a version satisfies a dependency constraint.
Version: 1.4.0 Range: ^1.2.3
Satisfies — ^1.2.3 allows any 1.x.y at or above 1.2.3, but not 2.0.0.