Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

routil-cookie

0.0.1 • Public • Published

Routil-cookie

build status

Cookie manipulation on req and res

Example

var routilCookie = require("routil-cookie"),
    getCookie = routilCookie.getCookie,
    setCookie = routilCookie.setCookie,
    http = require("http")

http.createServer(function (req, res) {
    var value = getCookie(req, name)

    setCookie(res, name, value, options)
})

Keywords

none

install

npm i routil-cookie

Downloadsweekly downloads

132

version

0.0.1

license

none

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability