tough-cookie-deno-kv-store
is a Deno KV store adapter for the tough-cookie
library. This adapter allows you to store and manage cookies using Deno's key-value store.
To install tough-cookie-deno-kv-store
, use the following command:
deno add jsr:@bluescorpian/tough-cookie-deno-kv-store
or to use directly from JSR, import into a module:
import { DenoKVStore } from "jsr:@bluescorpian/tough-cookie-deno-kv-store";
import { DenoKVStore } from "jsr:@bluescorpian/tough-cookie-deno-kv-store"; import { CookieJar } from "tough-cookie"; const kv = new Deno.Kv(); // Initialize your Deno KV instance const store = new DenoKVStore(kv, ["cookie_prefix"]); const cookieJar = new CookieJar(store);
This project is licensed under the MIT License.
Add Package
deno add jsr:@bluescorpian/tough-cookie-deno-kv-store
Import symbol
import * as tough_cookie_deno_kv_store from "@bluescorpian/tough-cookie-deno-kv-store";
---- OR ----
Import directly with a jsr specifier
import * as tough_cookie_deno_kv_store from "jsr:@bluescorpian/tough-cookie-deno-kv-store";