{"repo":"pillarjs/cookies","free":true,"listed":false,"github":"https://github.com/pillarjs/cookies","clone":"git clone https://github.com/pillarjs/cookies.git","description":"Signed and unsigned cookies based on Keygrip","language":"JavaScript","stars":1295,"topics":["javascript","cookies","nodejs"],"license":"MIT","category":"dev-tools","readme_excerpt":"Cookies ======= [![NPM Version][npm-image]][npm-url] [![NPM Downloads][downloads-image]][downloads-url] [![Node.js Version][node-version-image]][node-version-url] [![Build Status][ci-image]][ci-url] [![Test Coverage][coveralls-image]][coveralls-url] Cookies is a node.js module for getting and setting HTTP(S) cookies. Cookies can be signed to prevent tampering, using Keygrip. It can be used with the built-in node.js HTTP library, or as Connect/Express middleware. Install This is a Node.js module available through the npm registry. Installation is done using the npm install command: Features Lazy : Since cookie verification against multiple keys could be expensive, cookies are only verified lazily when accessed, not eagerly on each request. Secure : All cookies are httponly by default, and cookies sent over SSL are secure by default. An error will be thrown if you try to send secure cookies over an insecure socket. Unobtrusive : Signed cookies are stored the same way as unsigned cookies, instead of in an obfuscated signing format. An additional signature cookie is stored for each signed cookie, using a standard naming convention ( cookie-name .sig ). This allows other libraries to access the original cookies without having to know the signing mechanism. Agnostic : This library is optimized for use with Keygrip, but does not require it; you can implement your own signing scheme instead if you like and use this library only to read/write cookies. Factoring the signing into a sepa","default_branch":null,"files":null,"tree":[],"storefront":"/r/pillarjs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/pillarjs/cookies/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}