semver-node-cli
v1.0.1
Published
cli for semver-node
Downloads
6
Readme
semver-node-cli
cli for semver-node
Install
$ npm i -g semver-node-cli
Usage
Usage
$ semver-node
Options
-s, --stable Outputs the latest stable version
-u, --unstable Outputs the latest unstable version
-r, --resolve Resolves any range that node-semver can parse
-m, --mirror Useful if nodejs.org is unreachable
Examples
$ semver-node --stable
5.1.1
$ semver-node --resolve '>=0.8.5 <=0.8.14'
0.8.14
$ semver-node --stable --mirror 'https://npm.taobao.org/mirrors/node'
5.1.1
Related
License
MIT © Søren Brokær