Skip to content
This repository has been archived by the owner on May 21, 2019. It is now read-only.

Latest commit

 

History

History
40 lines (27 loc) · 1.51 KB

README.md

File metadata and controls

40 lines (27 loc) · 1.51 KB

This package is no longer maintained and not compatible with the latest RDF-Ext version. Similar functionality can be found in the rdf-store-web package.

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