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