@m-ld/gateway
Version:
m-ld gateway for services
11 lines (10 loc) • 321 B
TypeScript
import type { Reference } from '@m-ld/m-ld';
export declare function idSet(refs: Reference[]): Set<string>;
/**
* Leaves an already-absolute URI alone
*/
export declare const domainRelativeIri: (iri: string, domainName: string) => string;
/**
*
*/
export declare function lastPathComponent(pathname: string): string;