{
  "name": "cookie-parser",
  "version": "1.1.0",
  "description": "cookie parsing with signatures",
  "keywords": [
    "cookie",
    "middleware"
  ],
  "repository": {
    "type": "git",
    "url": "git://github.com/expressjs/cookie-parser.git"
  },
  "author": {
    "name": "TJ Holowaychuk",
    "email": "tj@vision-media.ca",
    "url": "http://tjholowaychuk.com"
  },
  "dependencies": {
    "cookie": "0.1.2",
    "cookie-signature": "1.0.3"
  },
  "devDependencies": {
    "mocha": "~1.18.2",
    "supertest": "~0.12.1"
  },
  "licenses": "MIT",
  "main": "./index.js",
  "engines": {
    "node": ">= 0.8.0"
  },
  "scripts": {
    "test": "mocha --ui bdd --reporter list -- test/*.js"
  },
  "readme": "# cookie-parser [![Build Status](https://travis-ci.org/expressjs/cookie-parser.svg?branch=master)](https://travis-ci.org/expressjs/cookie-parser) [![NPM Version](https://badge.fury.io/js/cookie-parser.svg)](https://badge.fury.io/js/cookie-parser)\n\nParse `Cookie` header and populate `req.cookies` with an object keyed by the cookie\nnames. Optionally you may enabled signed cookie support by passing a `secret` string,\nwhich assigns `req.secret` so it may be used by other middleware.\n\n## Install\n\n```sh\n$ npm install cookie-parser\n```\n\n## API\n\n```js\nvar cookieParser = require('cookie-parser')\n```\n\n### cookieParser(secret, options)\n\n- `secret` a string used for signing cookies. This is optional and if not specified, will not parse signed cookies.\n- `options` an object that is passed to `cookie.parse` as the second option. See [cookie](https://www.npmjs.org/package/cookie) for more information.\n  - `decode` a funcction to decode the value of the cookie\n\n## Example\n\n```js\nvar cookieParser = require('cookie-parser');\n\nconnect()\n .use(cookieParser('optional secret string'))\n .use(function(req, res, next){\n   res.end(JSON.stringify(req.cookies));\n })\n```\n\n## License\n\nMIT\n",
  "readmeFilename": "README.md",
  "bugs": {
    "url": "https://github.com/expressjs/cookie-parser/issues"
  },
  "homepage": "https://github.com/expressjs/cookie-parser",
  "_id": "cookie-parser@1.1.0",
  "_shasum": "2f8265aa3b55733a85eef207f0e2530c3e8cf705",
  "_from": "cookie-parser@1.1.0",
  "_resolved": "https://registry.npmjs.org/cookie-parser/-/cookie-parser-1.1.0.tgz"
}
