js-semver-0.2.0 has been yanked.
js-semver
A parser and evaluator for semantic versioning in JavaScript, including Node.js and Deno.
This crate is designed for the JavaScript ecosystem. It maintains high compatibility with the behavior of node-semver (the one npm uses) and has zero dependencies by default.
Example
use ;
Comparison with other crates
node-semver
node-semver crate has numerous issues, including unnecessary dependencies like miette, incompatibilities with npm's node-semver, and the fact that it is no longer actively maintained.
semver
semver crate is designed for Cargo. Therefore, it is not well-suited for the Node.js ecosystem, such as parsing versions in package.json.
License
MIT-0