Please use semver-utils instead!
npm install semver-utils
See the README for semver-utils at https://github.com/coolaj86/semver-utils
npm install semver-utils
parse-semver.js
parses a single semver such as 2.1.0-6+b
. This has been tested quite a bit.
parse-semver-range.js
parses ranges such as >= 1.3.1 <= 1.4.6
. This needs more testing.
I moved this to https://github.com/coolaj86/semver-utils