rdf-namespaces
Automatically generated TypeScript files containing short aliases to common RDF namespaces.
This allows you to use rdf.type
instead of 'http://www.w3.org/1999/02/22-rdf-syntax-ns#type'
in
your code, and gives you code completion for available properties if you use an editor with
TypeScript support.
For a list of included vocabularies, see the source code.
Installation
npm install rdf-namespaces
Usage
import { ldp } from 'rdf-namespaces';
const ldpResource: string = ldp.Resource; // http://www.w3.org/ns/ldp#Resource
Changelog
See CHANGELOG.
License
MIT © Inrupt