UNPKG

@tuplo/fletcher

Version:

Web scraping HTTP request library

8 lines (7 loc) 253 B
import type { ICacheParams } from "../fletcher.d"; export declare class Cache { db: Map<any, any>; hit: <T = string>(params: ICacheParams) => T | undefined; key: (params: ICacheParams) => string; write: (params: ICacheParams) => void; }