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

    1.9.2 • 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

    Install

    npm i rdf-namespaces

    DownloadsWeekly Downloads

    9,624

    Version

    1.9.2

    License

    MIT

    Unpacked Size

    3.06 MB

    Total Files

    221

    Last publish

    Collaborators

    • vincenttunru