rdf-namespaces
TypeScript icon, indicating that this package has built-in type declarations

1.12.0 • Public • Published

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

Package Sidebar

Install

npm i rdf-namespaces

Weekly Downloads

1,277

Version

1.12.0

License

MIT

Unpacked Size

12.8 MB

Total Files

245

Last publish

Collaborators

  • vincenttunru