json-cookie-cutter
v1.0.1
Published
JSON.parse/JSON.stringify to wrap substack's cookie-cutter
Downloads
4
Readme
json-cookie-cutter
Same API as cookie-cutter, plus JSON stringify/parse on set/get.
Install
$ npm install --save json-cookie-cutter
Usage
var cookie = require('json-cookie-cutter')
cookie.set('hello', {world: true})
cookie.get('hello') // => {world: true})
API
See cookie-cutter.
License
MIT © Andrew Joslin