compare-version : Compare semver version numbers. You can installing compare-version npm packages, there are two ways to install this module locally and globaly. -g option is specified to global. Execute the below command.
$ sudo npm install compare-version $ sudo npm install -g compare-version
If want to update the compare-version package execute the command as below,
$ sudo npm update compare-version
Update package globally,
$ npm install -g compare-version
$ sudo git clone https://github.com/rektide/compare-version.git
$ sudo npm install -g ./compare-version
compare-version@0.1.2 /usr/lib/node_modules/compare-version
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall compare-version
Package Name | compare-version |
Version | 0.1.2 |
Description | Compare semver version numbers |
Released Date | 2014-04-23T06:32:15.726Z |
Published by | kevva |
How to Learn | https://www.npmjs.com/package/compare-version/tutorial |