UNPKG

storage-manager-js

Version:

A little way to control Cookies, LocalStorage and SessionStorage without tears

6 lines 382 B
export declare const map: (object: object, callback: (x: string) => void) => void; export declare const isNil: <T>(item: T) => boolean; export declare const isPrimitive: (a: any) => boolean; export declare const getStorage: <T>(key: string, storage: Storage) => string | T | null; export declare const json: <T extends {}>(storage: Storage) => T; //# sourceMappingURL=utils.d.ts.map