prc b6c02717e6 Upload complete no-internet building environment. преди 1 година
..
README.md b6c02717e6 Upload complete no-internet building environment. преди 1 година
index.js b6c02717e6 Upload complete no-internet building environment. преди 1 година
package.json b6c02717e6 Upload complete no-internet building environment. преди 1 година

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