tough-cookie-redisstore is a File store for tough-cookie module, base on tough-cookie-filestore. See tough-cookie documentation for more info.
$ npm install tough-cookie-redisstore
path
file path of cookiejar.
var RedisCookieStore = require("tough-cookie-redisstore"); var CookieJar = require("tough-cookie").CookieJar;
var jar = new CookieJar(new RedisCookieStore("username-cookie-key"));
MIT