mesh-fetcher
Version:
A Node.js package for fetching data from multiple APIs with enhanced features.
12 lines (11 loc) • 337 B
TypeScript
import { CacheStore } from '../../types';
export declare class PersistentCache implements CacheStore {
private storage;
constructor(storage?: Storage);
private serializeValue;
private deserializeValue;
get(key: string): any;
set(key: string, value: any): void;
delete(key: string): void;
clear(): void;
}