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