routil-cookie

set and get cookies

npm install routil-cookie
17 downloads in the last month

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)
})
npm loves you