UNPKG

retryable-fetch-ts

Version:

`retryable-fetch-ts` is a lightweight TypeScript package designed to simplify API fetching with built-in support for automatic retries and configurable timeouts.

4 lines (2 loc) 127 B
declare function retryFetch(api: string, init: {}, interval?: number, timeout?: number): Promise<any>; export { retryFetch };