motion
Version:
motion - moving development forward
63 lines (62 loc) • 2.75 kB
JSON
{
"_args": [
[
"cookie@https://registry.npmjs.org/cookie/-/cookie-0.1.2.tgz",
"/Users/nw/flint/packages/flint"
]
],
"_from": "cookie@0.1.2",
"_id": "cookie@0.1.2",
"_inCache": true,
"_location": "/cookie",
"_phantomChildren": {},
"_requested": {
"name": "cookie",
"raw": "cookie@https://registry.npmjs.org/cookie/-/cookie-0.1.2.tgz",
"rawSpec": "https://registry.npmjs.org/cookie/-/cookie-0.1.2.tgz",
"scope": null,
"spec": "https://registry.npmjs.org/cookie/-/cookie-0.1.2.tgz",
"type": "remote"
},
"_requiredBy": [
"/express"
],
"_resolved": "https://registry.npmjs.org/cookie/-/cookie-0.1.2.tgz",
"_shasum": "72fec3d24e48a3432073d90c12642005061004b1",
"_shrinkwrap": null,
"_spec": "cookie@https://registry.npmjs.org/cookie/-/cookie-0.1.2.tgz",
"_where": "/Users/nw/flint/packages/flint",
"author": {
"email": "shtylman@gmail.com",
"name": "Roman Shtylman"
},
"bugs": {
"url": "https://github.com/shtylman/node-cookie/issues"
},
"dependencies": {},
"description": "cookie parsing and serialization",
"devDependencies": {
"mocha": "1.x.x"
},
"engines": {
"node": "*"
},
"homepage": "https://github.com/shtylman/node-cookie#readme",
"keywords": [
"cookie",
"cookies"
],
"main": "index.js",
"name": "cookie",
"optionalDependencies": {},
"readme": "# cookie [](http://travis-ci.org/defunctzombie/node-cookie) #\n\ncookie is a basic cookie parser and serializer. It doesn't make assumptions about how you are going to deal with your cookies. It basically just provides a way to read and write the HTTP cookie headers.\n\nSee [RFC6265](http://tools.ietf.org/html/rfc6265) for details about the http header for cookies.\n\n## how?\n\n```\nnpm install cookie\n```\n\n```javascript\nvar cookie = require('cookie');\n\nvar hdr = cookie.serialize('foo', 'bar');\n// hdr = 'foo=bar';\n\nvar cookies = cookie.parse('foo=bar; cat=meow; dog=ruff');\n// cookies = { foo: 'bar', cat: 'meow', dog: 'ruff' };\n```\n\n## more\n\nThe serialize function takes a third parameter, an object, to set cookie options. See the RFC for valid values.\n\n### path\n> cookie path\n\n### expires\n> absolute expiration date for the cookie (Date object)\n\n### maxAge\n> relative max age of the cookie from when the client receives it (seconds)\n\n### domain\n> domain for the cookie\n\n### secure\n> true or false\n\n### httpOnly\n> true or false\n\n",
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git://github.com/shtylman/node-cookie.git"
},
"scripts": {
"test": "mocha"
},
"version": "0.1.2"
}