1.0.0 • Published 8 years ago
tough-cookie-web-storage-store v1.0.0
WebStorageCookieStore
A cookie store for the tough-cookie library based on Web Storage APIs (localStorage and sessionStorage)
Usage
import { CookieJar } from 'tough-cookie';
import WebStorageCookieStore from 'tough-cookie-web-storage-store';
let store = new WebStorageCookieStore(localStorage);
let cookieJar = new CookieJar(store);
1.0.0
8 years ago