Skip to content

Latest commit

 

History

History
24 lines (13 loc) · 552 Bytes

README.md

File metadata and controls

24 lines (13 loc) · 552 Bytes

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