You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Muqriz 48f16bfc3e initail first преди 4 месеца
..
README.md initail first преди 4 месеца
index.js initail first преди 4 месеца
package.json initail first преди 4 месеца

README.md

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