Awesome
File Cookie Store
tough-cookie-filestore is a File store for tough-cookie module. See tough-cookie documentation for more info.
installation
$ npm install tough-cookie-filestore
Options
path
file path of cookiejar.
Usage
var FileCookieStore = require("tough-cookie-filestore"); var CookieJar = require("tough-cookie").CookieJar;
var jar = new CookieJar(new FileCookieStore("./cookie.json"));
License
MIT