This repository bundles semver
to a single semverCompare(a, b)
function. You can find the bundle at dist/semver.js
. This package is used by openstyles/stylus
Usage:
semverCompare("0.1.0", "0.1.0"); // 0
semverCompare("0.1.1", "0.1.0"); // 1
semverCompare("0.0.1", "0.1.0"); // -1
-
0.1.0 (Jul 19, 2018)
- Initial release with
[email protected]
.
- Initial release with