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.
12 lines • 328 B
TypeScript
declare class Temp {
private static instance;
private store;
constructor();
static getInstance(): Temp;
set(key: string, value: string): boolean;
get(key: string): string | null;
clear(key?: string): boolean;
}
declare const _default: Temp;
export default _default;
//# sourceMappingURL=temp.d.ts.map