{
  "_args": [
    [
      "range-parser@https://registry.npmjs.org/range-parser/-/range-parser-1.0.3.tgz",
      "/Users/nw/flint/packages/flint"
    ]
  ],
  "_from": "range-parser@>=1.0.2 <1.1.0",
  "_id": "range-parser@1.0.3",
  "_inCache": true,
  "_location": "/range-parser",
  "_phantomChildren": {},
  "_requested": {
    "name": "range-parser",
    "raw": "range-parser@https://registry.npmjs.org/range-parser/-/range-parser-1.0.3.tgz",
    "rawSpec": "https://registry.npmjs.org/range-parser/-/range-parser-1.0.3.tgz",
    "scope": null,
    "spec": "https://registry.npmjs.org/range-parser/-/range-parser-1.0.3.tgz",
    "type": "remote"
  },
  "_requiredBy": [
    "/express",
    "/send",
    "/serve-static/send"
  ],
  "_resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.0.3.tgz",
  "_shasum": "6872823535c692e2c2a0103826afd82c2e0ff175",
  "_shrinkwrap": null,
  "_spec": "range-parser@https://registry.npmjs.org/range-parser/-/range-parser-1.0.3.tgz",
  "_where": "/Users/nw/flint/packages/flint",
  "author": {
    "email": "tj@vision-media.ca",
    "name": "TJ Holowaychuk",
    "url": "http://tjholowaychuk.com"
  },
  "bugs": {
    "url": "https://github.com/jshttp/range-parser/issues"
  },
  "dependencies": {},
  "description": "Range header field string parser",
  "devDependencies": {
    "istanbul": "0.4.0",
    "mocha": "1.21.5"
  },
  "engines": {
    "node": ">= 0.6"
  },
  "files": [
    "HISTORY.md",
    "LICENSE",
    "index.js"
  ],
  "homepage": "https://github.com/jshttp/range-parser#readme",
  "keywords": [
    "http",
    "parser",
    "range"
  ],
  "license": "MIT",
  "name": "range-parser",
  "optionalDependencies": {},
  "readme": "# range-parser\n\n[![NPM Version][npm-image]][npm-url]\n[![NPM Downloads][downloads-image]][downloads-url]\n[![Node.js Version][node-version-image]][node-version-url]\n[![Build Status][travis-image]][travis-url]\n[![Test Coverage][coveralls-image]][coveralls-url]\n\nRange header field parser.\n\n## Installation\n\n```\n$ npm install range-parser\n```\n\n## API\n\n```js\nvar parseRange = require('range-parser')\n```\n\n### parseRange(size, header)\n\nParse the given `header` string where `size` is the maximum size of the resource.\nAn array of ranges will be returned or negative numbers indicating an error parsing.\n\n  * `-2` signals a malformed header string\n  * `-1` signals an invalid range\n\n```js\n// parse header from request\nvar range = parseRange(req.headers.range)\n\n// the type of the range\nif (range.type === 'bytes') {\n  // the ranges\n  range.forEach(function (r) {\n    // do something with r.start and r.end\n  })\n}\n```\n\n## License\n\n[MIT](LICENSE)\n\n[npm-image]: https://img.shields.io/npm/v/range-parser.svg\n[npm-url]: https://npmjs.org/package/range-parser\n[node-version-image]: https://img.shields.io/node/v/range-parser.svg\n[node-version-url]: http://nodejs.org/download/\n[travis-image]: https://img.shields.io/travis/jshttp/range-parser.svg\n[travis-url]: https://travis-ci.org/jshttp/range-parser\n[coveralls-image]: https://img.shields.io/coveralls/jshttp/range-parser.svg\n[coveralls-url]: https://coveralls.io/r/jshttp/range-parser\n[downloads-image]: https://img.shields.io/npm/dm/range-parser.svg\n[downloads-url]: https://npmjs.org/package/range-parser\n",
  "readmeFilename": "README.md",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/jshttp/range-parser.git"
  },
  "scripts": {
    "test": "mocha --reporter spec",
    "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot",
    "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter dot"
  },
  "version": "1.0.3"
}
