API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
classJsonStore
@codexo/exojs / resources / stable
JSON-first key-value store built on top of IndexedDbStore.
0
props
6
methods
0
events
Import
import { JsonStore } from '@codexo/exojs' JSON-first key-value store built on top of IndexedDbStore.
Constructors 1
new(nameOrOptions: string | JsonStoreOptions): JsonStore Methods 6
clear(): Promise<boolean> delete(key: string): Promise<boolean> destroy(): void get(key: string): Promise<T | null> has(key: string): Promise<boolean> set(key: string, data: unknown): Promise<void> Source