expressjs/cookies — pull request #48 by jonathanong (2014-06-19 02:50:57+00:00)
Title: 1.0.0

basically hits all the 1.0.0 milestones

- API has changed to `var cookies = require('Cookies')([options], [keys])` then `req.cookies = res.cookies = cookies(req, res)`.
- automatically works as middleware, so you can do `app.use(require('cookies')([keys]))`
- `.get()` and `.set()` now only set raw cookies
- `.sign()` and `.unsign()` for signed cookies, with `.encoded` to optionally base64 encode as well. maybe a better name for `.unsign()`
- `.encode()` and `.decode()` for base64 encoded cookies
- `.encrypt()` and `.decrypt()` for encrypted cookies
- `.clear()` to clear a cookie quickly

Option changes:

- `overwrite` defaults to `true`

To test, you need to install `keygrip` master and `npm link` it

please test and give me feedback before i push v1