JSPM

webid-get

0.1.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 4
  • Score
    100M100P100Q38093F
  • License MIT

Get a webid graph

Package Exports

  • webid-get

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (webid-get) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

webid-get

Get a webid graph for the browsers and Node.js

  • sameAs, seeAlso, prefs link following

Install

$ npm install --save webid-get

Usage

var webidGet = require('webid-get')

var uri = 'http://www.w3.org/People/Berners-Lee/card#me'
webidGet(uri, function (err, graph) {
  // webid will be a `rdf-ext` graph
})

var rdf = rdf.createGraph()
webidGet(uri, graph, function (err) {
  // webid will be a `rdf-ext` graph
})

License

MIT © Nicola Greco 2015