Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

tough-cookie-filestore-plus

anulman8MIT0.0.2

tough-cookie-filestore rewritten for fs-storage-plus

readme

tough-cookie-filestore-plus

A storage backend for tough-cookie that leverages fs-storage-plus.

Usage

import { CookieJar } from 'tough-cookie';
import EncryptedStore from 'tough-cookie-filestore-plus';

const storage = new EncryptedStore('/path/to/file');
new CookieJar(storage, { looseMode: true });