Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

rdf-namespaces

vincenttunru15.6kMIT1.13.1TypeScript support: included

Autogenerated TypeScript files with RDF namespace aliases for autocompletion

rdf, namespace, rdf-namespace, rdf-namespaces, linked-data

readme

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