/solid-web-client

Minimal Solid REST client library, for use with solid-client

Primary LanguageJavaScriptMIT LicenseMIT

solid-web-client

NPM Version Build Status

Minimal Solid LDP REST client functionality. Serves as a standalone library, and is also used inside solid-client.

Usage

var rdf = require('rdflib')  // or other compatible library
var webClient = require('solid-web-client')(rdf)

webClient.get('https://example.com')
  .then(function (response) {
    console.log(response)
  })