0.3.1 • Published 8 years ago

rdf-store-ldp v0.3.1

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

rdf-store-ldp

Build Status NPM Version

RESTful LDP RDF Store that follows the RDF Interface specification

Install

npm install --save rdf-store-ldp

Usage

Store implementation to access graphs via a RESTful LDP interface. The constructor accepts a single options parameters.

The options object can have the following properties:

  • defaultParser If the response uses an unknow mime type, that parse is used by default. By default 'text/turtle' is used.
  • defaultSerializer The mime type and serializer used for write requests. By default 'text/turtle' is used.
  • parsers Map that contains mime type to parser function key value pairs. By default LdpStore.defaultParsers is used
  • request Replaces the default request function. See the utils sections for implementations provided by RDF-Ext.
  • serializers Map that contains mime type to serialize function key value pairs. By default LdpStore.defaultSerializers is used

History

Taken from zazukoians/rdf-ext

Licence

MIT