File: chat-websocket/node_modules/express/node_modules/cookie/package.json

Recommend this page to a friend!
  Classes of Igor Escobar   Terminal Crossword   chat-websocket/node_modules/express/node_modules/cookie/package.json   Download  
File: chat-websocket/node_modules/express/node_modules/cookie/package.json
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Terminal Crossword
Generate a crosswords board on a text console
Author: By
Last change:
Date: 2 years ago
Size: 1,852 bytes
 

Contents

Class file image Download
{ "author": { "name": "Roman Shtylman", "email": "shtylman@gmail.com" }, "name": "cookie", "description": "cookie parsing and serialization", "version": "0.0.5", "repository": { "type": "git", "url": "git://github.com/shtylman/node-cookie.git" }, "keywords": [ "cookie", "cookies" ], "main": "index.js", "scripts": { "test": "mocha" }, "dependencies": {}, "devDependencies": { "mocha": "1.x.x" }, "optionalDependencies": {}, "engines": { "node": "*" }, "readme": "# cookie [![Build Status](https://secure.travis-ci.org/shtylman/node-cookie.png?branch=master)](http://travis-ci.org/shtylman/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", "_id": "cookie@0.0.5", "dist": { "shasum": "e8906a904ff4e867b5eb12afcf6e66d803bd071e" }, "_from": "cookie@0.0.5" }