system_assignation/node_modules/compare-version
2022-03-24 09:22:39 -04:00
..
index.js add working version of ep_workflow 2022-03-24 09:22:39 -04:00
package.json add working version of ep_workflow 2022-03-24 09:22:39 -04:00
README.md add working version of ep_workflow 2022-03-24 09:22:39 -04: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