UNPKG

storages-proxy

Version:

A simple, lightweight JavaScript API for handling browser storages

7 lines (6 loc) 399 B
import type { Path, Type } from './types'; export declare function formatPath(type: Type, path?: Path): string; export declare function getPrefix(type: Type, path?: Path): string; export declare function isInclude(key: string, type: Type): boolean; export declare function getKey(key: string | symbol, type: Type, path?: Path): string | symbol; export default function storage(type: Type): Storage;