@rdfjs/data-model
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/rdfjs__data-model package

2.0.2 • Public • Published

@rdfjs/data-model

build status npm version

A basic implementation of the RDF/JS Data Model.

Usage

Use the following command to add the package as a dependency to your project:

npm install @rdfjs/data-model --save

The main entry point of the package exports an RDF/JS DataFactory instance. See the following lines on how to import and use the library:

import dataFactory from '@rdfjs/data-model'

const quad = dataFactory.quad(
  dataFactory.blankNode(),
  dataFactory.namedNode('http://schema.org/name'),
  dataFactory.literal('RDF/JS Data model')
)

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.0.2
    18,368
    • latest

Version History

Package Sidebar

Install

npm i @rdfjs/data-model

Weekly Downloads

45,029

Version

2.0.2

License

MIT

Unpacked Size

34.4 kB

Total Files

24

Last publish

Collaborators

  • bergos