/semver — Semver Calculator
Work with semantic versions: compare two of them, test whether a version satisfies a range (the
^1.2.0, ~1.2, >=1.2 <2 syntax from package managers), and compute the next version for each kind of bump. Caret, tilde, x-ranges, hyphen ranges and || are all understood, including prerelease precedence.Compare
Range satisfies