UNPKG

zustand-storage

Version:

A universal solution combining @aivron/sync-storage and zust-api for React (web & desktop). It merges local persistence with a Zustand-inspired API to provide core storage operations, bulk actions, JSON support, TTL, and integrated React hooks.

8 lines (7 loc) 302 B
import { StorageEngine } from "./types"; /** * Default storage engine that attempts to use @aivron/sync-storage first, * then falls back to window.localStorage, and finally uses an in-memory fallback. */ declare const defaultStorageEngine: StorageEngine; export default defaultStorageEngine;