web-storage-helper
Version:
A TypeScript library providing a unified API for managing browser storage with support for multiple storage types (localStorage, sessionStorage, cookies, IndexedDB, Temp) and optional encryption for secure data storage.
13 lines • 364 B
TypeScript
declare class Local {
private static instance;
private store;
constructor();
static getInstance(): Local;
private isStorageAvailable;
set(key: string, value: string): boolean;
get(key: string): string | null;
clear(key?: string): boolean;
}
declare const _default: Local;
export default _default;
//# sourceMappingURL=local.d.ts.map