Skip to content

A cookie store for the tough-cookie library based on Web Storage APIs (localStorage and sessionStorage)

License

Notifications You must be signed in to change notification settings

EyalSi/tough-cookie-web-storage-store

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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);

About

A cookie store for the tough-cookie library based on Web Storage APIs (localStorage and sessionStorage)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%