cookies-string-parse
v0.0.1
Published
parsing cookie strings
Downloads
140
Readme
Cookies-string-parse
Cookies-string-parse is a node.js module for parsing cookie strings.Based on cookies. It does not need 'request' and 'response'.Just need a cookie string.
Install
npm install cookies-string-parse
API
Reference cookies.
demo
const Cookie = require('cookies-string-parse');
const cookie = new Cookie(cookiesString, {keys: [secret]});
const cookieName = cookie.get('cookieName', {signed: true});
console.log(cookieName);
License
Keywords
cookie, socket.io-cookie