{
  "_args": [
    [
      {
        "raw": "semver-utils@^1.1.1",
        "scope": null,
        "escapedName": "semver-utils",
        "name": "semver-utils",
        "rawSpec": "^1.1.1",
        "spec": ">=1.1.1 <2.0.0",
        "type": "range"
      },
      "/build/npm-check-updates/src/npm-check-updates-2.11.0.tgz"
    ]
  ],
  "_from": "semver-utils@>=1.1.1 <2.0.0",
  "_id": "semver-utils@1.1.1",
  "_inCache": true,
  "_location": "/npm-check-updates/semver-utils",
  "_nodeVersion": "4.1.0",
  "_npmUser": {
    "name": "coolaj86",
    "email": "coolaj86@gmail.com"
  },
  "_npmVersion": "2.14.3",
  "_phantomChildren": {},
  "_requested": {
    "raw": "semver-utils@^1.1.1",
    "scope": null,
    "escapedName": "semver-utils",
    "name": "semver-utils",
    "rawSpec": "^1.1.1",
    "spec": ">=1.1.1 <2.0.0",
    "type": "range"
  },
  "_requiredBy": [
    "/npm-check-updates"
  ],
  "_resolved": "https://registry.npmjs.org/semver-utils/-/semver-utils-1.1.1.tgz",
  "_shasum": "27d92fec34d27cfa42707d3b40d025ae9855f2df",
  "_shrinkwrap": null,
  "_spec": "semver-utils@^1.1.1",
  "_where": "/build/npm-check-updates/src/npm-check-updates-2.11.0.tgz",
  "author": {
    "name": "AJ ONeal"
  },
  "bugs": {
    "url": "https://github.com/coolaj86/semver-utils/issues"
  },
  "dependencies": {},
  "description": "Tools for manipulating semver strings and objects",
  "devDependencies": {
    "chai": "^3.0.0",
    "mocha": "^2.2.5"
  },
  "directories": {},
  "dist": {
    "shasum": "27d92fec34d27cfa42707d3b40d025ae9855f2df",
    "tarball": "https://registry.npmjs.org/semver-utils/-/semver-utils-1.1.1.tgz"
  },
  "gitHead": "762536ec245119091f7795c71e8e0061d2e16cf2",
  "homepage": "https://github.com/coolaj86/semver-utils#readme",
  "keywords": [
    "semver",
    "parse",
    "parseRange",
    "range"
  ],
  "license": "APACHEv2",
  "main": "semver-utils.js",
  "maintainers": [
    {
      "name": "coolaj86",
      "email": "coolaj86@gmail.com"
    }
  ],
  "name": "semver-utils",
  "optionalDependencies": {},
  "readme": "## semver-utils\n\nSome utils that aren't provided by the mainstream `semver` module.\n\n### Usage\n\n```bash\nnpm install --save semver-utils\n```\n\n```javascript\n'use strict';\n\nvar semverUtils = require('semver-utils')\n  , version = require('./package.json').version\n  , semver = semverUtils.parse(version)\n  ;\n  \nconsole.log(semver);\n```\n\n## API\n\n  * `semverUtils.parse(semverString)`\n  * `semverUtils.stringify(semverObject)`\n  * `semverUtils.parseRange(rangeString)`\n  * `semverUtils.stringifyRange(rangeArray)`\n\n### semverUtils.parse(semverString)\n\nTurns a string such as `1.0.6-1+build-623` into the object\n\n    {\n      semver:   '1.0.6-1+build-623'\n    , version:  '1.0.6'\n    , major:    '1'\n    , minor:    '0'\n    , patch:    '6'\n    , release:  '1'\n    , build:    'build-623'\n    }\n\nreturns `null` on **error**\n\n### semverUtils.stringify(semverObject)\n\nCreates a string such as `1.0.6-1+build-623` from the object\n\n    {\n      major:    '1'\n    , minor:    '0'\n    , patch:    '6'\n    , release:  '1'\n    , build:    'build-623'\n    }\n\n### semverUtils.parseRange(rangeString)\n\nA solution to <https://github.com/isaacs/node-semver/issues/10>\n\nParses a range string into an array of semver objects\n\n`>= 1.1.7 < 2.0.0 || 1.1.3` becomes\n\n    [\n        {\n            \"semver\": \">= v1.1.7\"\n          , \"operator\": \">=\"\n          , \"major\": 1\n          , \"minor\": 1\n          , \"patch\": 7\n        }\n      , {\n            \"semver\": \"< v2.0.0\"\n          , \"operator\": \"<\"\n          , \"major\": 2\n          , \"minor\": 0\n          , \"patch\": 0\n        }\n      , {\n            \"operator\": \"||\"\n        }\n      , {\n            \"semver\": \"v1.1.3\"\n          , \"operator\": \"=\"\n          , \"major\": 1\n          , \"minor\": 1\n          , \"patch\": 3\n        }\n\n    ]\n\n### semverUtils.stringifyRange(rangeArray)\n\nCreates a range string such as `>= 1.1.7 < 2.0.0 || 1.1.3`\nfrom an array of semver objects (and operators) such as\n\n    [\n        {\n            \"semver\": \">= v1.1.7\"\n          , \"operator\": \">=\"\n          , \"major\": 1\n          , \"minor\": 1\n          , \"patch\": 7\n        }\n      , {\n            \"semver\": \"< v2.0.0\"\n          , \"operator\": \"<\"\n          , \"major\": 2\n          , \"minor\": 0\n          , \"patch\": 0\n        }\n      , {\n            \"operator\": \"||\"\n        }\n      , {\n            \"semver\": \"v1.1.3\"\n          , \"operator\": \"=\"\n          , \"major\": 1\n          , \"minor\": 1\n          , \"patch\": 3\n        }\n\n    ]\n\n## Obsolete Work\n\n  * https://github.com/mojombo/semver/issues/32\n  * https://gist.github.com/coolaj86/3012865\n  * https://github.com/isaacs/node-semver/issues/10\n  * https://github.com/mojombo/semver.org/issues/59\n",
  "readmeFilename": "README.md",
  "repository": {
    "type": "git",
    "url": "git://github.com/coolaj86/semver-utils.git"
  },
  "scripts": {
    "test": "mocha"
  },
  "version": "1.1.1"
}
