UNPKG

tinycoll

Version:

A minimal reactive document store with Mongo-like querying, reactivity, TTL support, and optional persistence.

9 lines (8 loc) 271 B
import type { StorageAdapter } from './storage.js'; export declare class IndexedDbStorage implements StorageAdapter { #private; constructor(); get(key: string): Promise<any>; set(key: string, val: any): Promise<void>; static clear(): Promise<void>; }