UNPKG

ionstore

Version:

A very simple isomorphic key-value store with a Map-like API for persisting session data.

10 lines (9 loc) 278 B
import type { Options } from './types.js'; declare class AbstractStore extends Map<string, string> { #private; constructor(options: Options); clear(): void; delete(key: string): boolean; set(key: string, value: string): this; } export default AbstractStore;