This is a Javascript implementation of Maven 3's ComparableVersion, for comparing version strings.
- Written in ECMA 5.1 to be IE11-compatible.
- Written to mirror the original Java as closely as possible.
See also Apache's wiki on Maven versioning: https://cwiki.apache.org/confluence/display/MAVENOLD/Versioning
The tests are written using Chai and executed via Mocha. Run them with npm test
.