# tough-cookie-filestore2

> another file store for tough-cookie

Latest version **1.0.0** (published 2018-02-03) · MIT license · 0 weekly downloads

## Install

```sh
npm install tough-cookie-filestore2
pnpm add tough-cookie-filestore2
yarn add tough-cookie-filestore2
bun add tough-cookie-filestore2
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2018-02-03 |
| First published | 2018-02-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | Stanley Xu |
| Maintainers | stanleyxu2005 |

## Links

- npm: https://www.npmjs.com/package/tough-cookie-filestore2
- Repository: https://github.com/stanleyxu2005/tough-cookie-filestore2
- Homepage: https://github.com/stanleyxu2005/tough-cookie-filestore2#readme
- Issues: https://github.com/stanleyxu2005/tough-cookie-filestore2/issues
- npm.io page: https://npm.io/package/tough-cookie-filestore2

## Dependencies (1)

- [tough-cookie](https://npm.io/package/tough-cookie.md) ^2.3.3

## Recent versions

- 1.0.0 (latest) — 2018-02-03

## README

# 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](https://github.com/goinstant/tough-cookie#constructionstore--new-memorycookiestore-rejectpublicsuffixes) 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

---
_Source: https://npm.io/package/tough-cookie-filestore2 · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
