litchi-cookie
A simple cookie management utility for NodeJs web applications
how to use?
npm install litchi-cookie
'use strict'; var PORT = 8082;var http = ;var Cookie = ; http; console;
more options
The set function has an optional third parameter as object to set cookie more options as follows: maxAge : max age of the cookie in seconds domain : domain for the cookie path : cookie path expires : expiration date for the cookie secure : true or false httpOnly : true or false firstPartyOnly : true or false