UNPKG

@jeswr/prefixcc

Version:

A utility library to lookup prefixes and uris on prefixcc

10 lines (9 loc) 370 B
import { OptionalFetch } from './fetchContext'; /** * Use prefix.cc to look up the namespace associated with a given prefix. * Errors if one cannot be found. * * @param prefix The prefix of which to obtain the namespace * @param options Optional fetch function to use */ export declare function lookupUri(prefix: string, options?: OptionalFetch): Promise<string>;