1.0.0 • Published 9 years ago

vercmp v1.0.0

Weekly downloads
4
License
MIT
Repository
github
Last release
9 years ago

vercmp

In short, it is one of tools to answer this question: http://stackoverflow.com/questions/4957514/how-to-compare-debian-package-versions but in node.

Build Status

install

npm -i vercmp --save

usage example

vercmp('0.0.1', '0.0.1'); // == 0
vercmp('0.0.2', '0.0.1'); // == 1
vercmp('0.0.1', '0.0.2'); // == -1

license

MIT