0.0.2 • Published 3 years ago
tough-cookie-filestore-repair v0.0.2
File Cookie Store
tough-cookie-filestore is a File store for tough-cookie module. See tough-cookie documentation for more info.
已修复保存cookie json文件异常问题
installation
$ npm install tough-cookie-filestore-repair
Options
path
file path of cookiejar.
Usage
var FileCookieStore = require("tough-cookie-filestore-repair"); var CookieJar = require("tough-cookie").CookieJar;
var jar = new CookieJar(new FileCookieStore("./cookie.json"));
License
MIT