UNPKG

@moeenn/fetch

Version:

Native Fetch with better ergonomics and error reporting

6 lines (4 loc) 148 B
declare function fetchJSON(url: string | URL | Request, options: RequestInit & { timeout?: number; }): Promise<unknown>; export { fetchJSON };