{"name":"compare-semver","version":"1.1.0","description":"Compare semver versions to many other semver versions","main":"index.js","directories":{"test":"test"},"scripts":{"test":"node test/index.js | tap-spec"},"repository":{"type":"git","url":"git+https://github.com/scottcorgan/compare-semver.git"},"author":{"name":"Scott Corgan"},"license":"MIT","bugs":{"url":"https://github.com/scottcorgan/compare-semver/issues"},"homepage":"https://github.com/scottcorgan/compare-semver","dependencies":{"semver":"^5.0.1"},"devDependencies":{"tap-spec":"^4.1.0","tape":"^4.2.0"},"gitHead":"4436a7ce14234dd336868d441fa8f515094c9af5","_id":"compare-semver@1.1.0","_shasum":"7c0a79a27bb80b6c6994445f82958259d3d02153","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"scottcorgan","email":"scottcorgan@gmail.com"},"dist":{"shasum":"7c0a79a27bb80b6c6994445f82958259d3d02153","tarball":"http://registry-npm.ywwl.com/compare-semver/download/compare-semver-1.1.0.tgz","integrity":"sha512-AENcdfhxsMCzzl+QRdOwMQeA8tZBEEacAmA4pGPoyco27G9sIaM98WNYkcToC9O0wIx1vE+1ErmaM4t0/fXhMw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCuV7oA7Uwt970uGZ+wgsTAvAXxbOVUYiJ7dKGB99BkxwIhAKHLIi43Spb9bw8aApTnJz3Ql9r53xC/B8Fzc3STCy7L"}],"size":1482,"noattachment":false,"key":"/compare-semver/-/compare-semver-1.1.0.tgz"},"maintainers":[{"name":"scottcorgan","email":"scottcorgan@gmail.com"}],"readme":"# compare-semver\n\nCompare semver versions to many other semver versions.\n\n## Install\n\n```\nnpm install compare-semver --save\n```\n\n### Usage\n\n```js\nvar compare = require('compare-semver');\nvar versions = [\n  '0.0.11',\n  '0.1.0',\n  '0.2.0',\n  '0.1.11'\n];\n\nvar maxSemver = compare.max(versions);\n```\n\n## Methods\n\n### max(versions)\n\nReturns the greatest version from the list of versions\n\n* `versions` - an array of semantic versions\n\n### min(versions)\n\nReturns the smallest version from the list of versions\n\n* `versions` - an array of semantic versions\n\n### gt(version, versions)\n\nCompare that  single version is greater than all versions in the list\n\n* `version` - the version to compare\n* `versions` - an array of semantic versions\n\n### lt(version, versions)\n\nCompare that  single version is less than all versions in the list\n\n* `version` - the version to compare\n* `versions` - an array of semantic versions\n\n### unique(version, versions)\n\nIs the given version unique compared to the list of versions\n\n* `version` - the version to compare\n* `versions` - an array of semantic versions\n\n## Run Tests\n\n```\nnpm install\nnpm test\n```\n","publish_time":1441143949000,"_cnpm_publish_time":1441143949000,"dist-tags":{"latest":"1.1.0"}}