UNPKG

browser-local-storage

Version:

Library for managing data at local storage.

14 lines (13 loc) 541 B
declare type KeyValuePair = { key: string; value: any; }; export declare const set: (key: string, value: any) => void; export declare const get: (key: string) => any; export declare const remove: (key: string) => void; export declare const setMultiple: (keyValuePair: KeyValuePair[]) => void; export declare const getMultiple: (keys: string[]) => {}; export declare const removeMultiple: (keys: string[]) => void; export declare const removeAll: () => void; export declare const removeAllExcept: (keys: string[]) => void; export {};