UNPKG

storages-proxy

Version:

A simple, lightweight JavaScript API for handling browser storages

6 lines (5 loc) 363 B
import type { Options, Path, Type } from './types'; declare function createGlobalStorage(type: Type, options?: Partial<Options>): void; declare function updateGlobalStorage(type: Type, options?: Partial<Options>, force?: boolean): void; declare function length(type: Type, path?: Path | null): number; export { createGlobalStorage, length, updateGlobalStorage };