Awesome
rdf-ext
RDF-Ext is a JavaScript library that extends the RDF/JS specs to handle RDF data in a developer-friendly way.
Install
npm install --save rdf-ext
Usage
Just import the default export from the package:
import rdf from 'rdf-ext'
const term = rdf.namedNode('http://example.org/')
The exported object is an instance of @rdfjs/environment. The following factories are included in the environment:
- DataFactory
- DatasetFactory
- FetchFactory
- FormatsFactory
- GrapoiFactory
- NamespaceFactory
- PrefixMapFactory
- TermMapFactory
- TermSetFactory
- TraverserFactory
Experimental features
The package contains experimental features which may break or be removed without being covered in the semantic versioning:
Documentation & examples
For more details, please check rdf-ext.org