npm.io
0.0.4 • Published 7 years ago

tough-cookie-redisstore

Licence
MIT
Version
0.0.4
Deps
2
Size
7 kB
Vulns
3
Weekly
0
Stars
1

tough-cookie-redisstore is a File store for tough-cookie module, base on tough-cookie-filestore. See tough-cookie documentation for more info.

installation

$ npm install tough-cookie-redisstore

Options

path file path of cookiejar.

Usage

var RedisCookieStore = require("tough-cookie-redisstore"); var CookieJar = require("tough-cookie").CookieJar;

var jar = new CookieJar(new RedisCookieStore("username-cookie-key"));

License

MIT