microdata-rdf-streaming-parser
Version:
A fast and lightweight streaming Microdata to RDF parser
10 lines (9 loc) • 344 B
TypeScript
/**
* A vocabulary registry.
* It associates URI prefixes with one or more key-value pairs to denote specific processor behaviour.
* @link https://w3c.github.io/microdata-rdf/#vocabulary-registry
* @link https://www.w3.org/ns/md
*/
export type IVocabRegistry = Record<string, {
properties?: Record<string, Record<string, string>>;
}>;