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