We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e66b07a commit 9492e22Copy full SHA for 9492e22
README.md
@@ -16,11 +16,11 @@ You can use this library in two ways.
16
17
### With a rdf library
18
19
-If a rdf library is provided then the map of namespaces given will be the result of calling `rdflib.Namespace` on the namespace urls.
+If a rdf library is provided then the map of namespaces given will be the result of calling `rdf.namedNode` on the namespace urls.
20
21
```js
22
-const $rdf = require('rdflib');
23
-const ns = require('solid-namespace')($rdf);
+const rdf = require('rdflib');
+const ns = require('solid-namespace')(rdf);
24
const store = $rdf.graph();
25
26
let me = ...;
0 commit comments