mirror of
https://github.com/S2-/gitlit
synced 2025-08-03 12:50:04 +02:00
packager
This commit is contained in:
31
app/node_modules/compare-version/README.md
generated
vendored
Normal file
31
app/node_modules/compare-version/README.md
generated
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
# compare-version [](https://travis-ci.org/kevva/compare-version)
|
||||
|
||||
> Compare version numbers.
|
||||
|
||||
## Install
|
||||
|
||||
```bash
|
||||
$ npm install --save compare-version
|
||||
```
|
||||
|
||||
```bash
|
||||
$ component install kevva/compare-version
|
||||
```
|
||||
|
||||
```bash
|
||||
$ bower install --save compare-version
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
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](http://en.wikipedia.org/wiki/MIT_License) © [Kevin Mårtensson](https://github.com/kevva)
|
Reference in New Issue
Block a user