Skip to content

stanleyxu2005/tough-cookie-filestore2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

another file store for tough-cookie

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published