Takes an object of RDF/XML prefixes and returns formatted string for the RDFa prefix attribute.
prefix
import { foaf, xsd } from "@thi.ng/prefixes"; formatPrefixes({ foaf, xsd }) // "foaf: http://xmlns.com/foaf/0.1/ rdf: http://www.w3.org/2001/XMLSchema#"
-
Generated using TypeDoc
Takes an object of RDF/XML prefixes and returns formatted string for the RDFa
prefix
attribute.import { foaf, xsd } from "@thi.ng/prefixes"; formatPrefixes({ foaf, xsd }) // "foaf: http://xmlns.com/foaf/0.1/ rdf: http://www.w3.org/2001/XMLSchema#"