loadJsonLd

Load json-ld data from markdown, yaml, json file or http url

function loadJsonLd(hydrateOptions?: {
    fetcher?: (url: string) => Promise<any>,
    context?: any
})

Parameters:

(Optional) fetcher: Function to get data for the requested url

(Optional) context: json-ld context

Examples