@jeswr/prefixcc
Version:
A utility library to lookup prefixes and uris on prefixcc
7 lines (6 loc) • 306 B
TypeScript
import { fetch } from 'cross-fetch';
export interface OptionalFetch {
fetch?: typeof fetch;
}
export declare function fetchJson(url: string | URL, options?: OptionalFetch): Promise<any>;
export declare function fetchContext(url: string | URL, options?: OptionalFetch): Promise<Record<string, string>>;