@ldo/dataset 1.0.0-alpha.14 → 1.0.0-alpha.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Readme.md +6 -2
- package/package.json +3 -3
package/Readme.md
CHANGED
|
@@ -12,7 +12,10 @@ npm i @ldo/dataset
|
|
|
12
12
|
|
|
13
13
|
```typescript
|
|
14
14
|
import { createDataset } from "@ldo/dataset";
|
|
15
|
-
import
|
|
15
|
+
import * as rdfdm from '@rdfjs/data-model';
|
|
16
|
+
const { quad, namedNode } = rdfdm;
|
|
17
|
+
|
|
18
|
+
imports: quad, namedNode as MyNamedNode
|
|
16
19
|
const dataset = createDataset();
|
|
17
20
|
dataset.add(
|
|
18
21
|
quad(
|
|
@@ -35,7 +38,8 @@ The extended dataset implements all the [additional methods](https://rdf.js.org/
|
|
|
35
38
|
Usage:
|
|
36
39
|
```typescript
|
|
37
40
|
import { createDataset } from "@ldo/dataset";
|
|
38
|
-
import
|
|
41
|
+
import * as rdfdm from '@rdfjs/data-model';
|
|
42
|
+
const { quad, namedNode, literal } = rdfdm;
|
|
39
43
|
// Required for advanced features:
|
|
40
44
|
import { dataset as initializeDatasetCore } from "@rdfjs/dataset";
|
|
41
45
|
import { ExtendedDatasetFactory } from "@ldo/dataset";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ldo/dataset",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.19",
|
|
4
4
|
"description": "An RDFJS dataset implementation",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/cjs/index.js",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"ts-node": "^9.1.1"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@ldo/rdf-utils": "^1.0.0-alpha.
|
|
47
|
+
"@ldo/rdf-utils": "^1.0.0-alpha.19",
|
|
48
48
|
"@rdfjs/dataset": "^1.1.0",
|
|
49
49
|
"buffer": "^6.0.3",
|
|
50
50
|
"readable-stream": "^4.2.0"
|
|
@@ -56,5 +56,5 @@
|
|
|
56
56
|
"publishConfig": {
|
|
57
57
|
"access": "public"
|
|
58
58
|
},
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "9e84ac4da67b104dcce6eacceba2ff33cb8a1e7b"
|
|
60
60
|
}
|