UNPKG

dinache

Version:

Restful light weight in-memory cache server built on top of node.js and dinoloop.

10 lines (9 loc) 297 B
export declare class CacheStore { private data; get<T>(key: string): T; put<T>(key: string, value: T): boolean; delete(key: string): void; upsert<T>(key: string, value: T): void; update<T>(key: string, value: T): boolean; } export declare const Cache: CacheStore;