CityBEM-CityLayers-SaeedRay.../node_modules/compare-version
2024-11-05 15:01:14 -05:00
..
index.js This commit pushes the node_modules folder separately due to its large size. 2024-11-05 15:01:14 -05:00
package.json This commit pushes the node_modules folder separately due to its large size. 2024-11-05 15:01:14 -05:00
README.md This commit pushes the node_modules folder separately due to its large size. 2024-11-05 15:01:14 -05:00

compare-version Build Status

Compare version numbers.

Install

$ npm install --save compare-version
$ component install kevva/compare-version
$ bower install --save compare-version

Usage

var compareVersion = require('compare-version');

compareVersion('1.11.0', '1.11.0'); // => 0
compareVersion('1.11.0', '1.2.9'); // => 1
compareVersion('1.11.3', '1.11.25'); // => -1

License

MIT License © Kevin Mårtensson