npm.io
1.17.0 • Published 4 months ago

rdf-namespaces

Licence
MIT
Version
1.17.0
Deps
0
Size
13.2 MB
Vulns
0
Weekly
0

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

Keywords