1.0.0 • Published 7 years ago

tough-cookie-filestore2 v1.0.0

Weekly downloads
255
License
MIT
Repository
github
Last release
7 years ago

File Cookie Store

As the original tough-cookie-filestore seems to be inactive. I have to create another implementation of File store with more security consideration for tough-cookie module. See tough-cookie documentation for more info.

installation

$ npm install tough-cookie-filestore2

Options

path file path of cookiejar.

Usage

  var FileCookieStore = require("tough-cookie-filestore2");
  var CookieJar = require("tough-cookie").CookieJar;

  var jar = new CookieJar(new FileCookieStore("./cookie.json"));

License

MIT