Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
class LocalStore
implements ICacheStore
import { LocalStore } from "https://deno.land/x/jwfetch@v2.2.1/src/store.ts";

Constructors

new
LocalStore()

Properties

timeoutMap: Map<string, number>

Methods

clear(): void | Promise<void>
delete(key: string)
get(key: string): any
has(key: string): boolean | Promise<boolean>
set(
key: string,
value: any,
options?: { ttl: number; },
)
size(): number | Promise<number>