@thi.ng/rstream-query 2.1.220 → 2.1.222
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 +27 -26
- package/package.json +13 -13
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<!-- This file is generated - DO NOT EDIT! -->
|
|
2
|
-
<!-- Please see: https://
|
|
3
|
-
# 
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/@thi.ng/rstream-query)
|
|
6
6
|

|
|
@@ -8,11 +8,12 @@
|
|
|
8
8
|
|
|
9
9
|
> [!NOTE]
|
|
10
10
|
> This is one of 214 standalone projects, maintained as part
|
|
11
|
-
> of the [@thi.ng/umbrella](https://
|
|
11
|
+
> of the [@thi.ng/umbrella](https://codeberg.org/thi.ng/umbrella/) ecosystem
|
|
12
12
|
> and anti-framework.
|
|
13
13
|
>
|
|
14
|
-
> 🚀 Please help me to work full-time on these projects by [sponsoring
|
|
15
|
-
>
|
|
14
|
+
> 🚀 Please help me to work full-time on these projects by [sponsoring
|
|
15
|
+
> me](https://codeberg.org/thi.ng/umbrella/src/branch/develop/CONTRIBUTING.md#donations).
|
|
16
|
+
> Thank you! ❤️
|
|
16
17
|
|
|
17
18
|
- [About](#about)
|
|
18
19
|
- [Current features](#current-features)
|
|
@@ -27,7 +28,7 @@
|
|
|
27
28
|
|
|
28
29
|
## About
|
|
29
30
|
|
|
30
|
-
[@thi.ng/rstream](https://
|
|
31
|
+
[@thi.ng/rstream](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/rstream)
|
|
31
32
|
based [triple store](https://en.wikipedia.org/wiki/Triplestore) &
|
|
32
33
|
reactive query engine with declarative query specs related to
|
|
33
34
|
[Datalog](https://en.wikipedia.org/wiki/Datalog) /
|
|
@@ -49,9 +50,9 @@ feature is currently WIP).
|
|
|
49
50
|
- Dynamic & declarative dataflow graph construction via high-level data
|
|
50
51
|
specs and/or functions
|
|
51
52
|
- Entirely based on stream abstractions provided by
|
|
52
|
-
[@thi.ng/rstream](https://
|
|
53
|
+
[@thi.ng/rstream](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/rstream)
|
|
53
54
|
- All data transformations done using dynamically composed
|
|
54
|
-
[tranducers](https://
|
|
55
|
+
[tranducers](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/transducers)
|
|
55
56
|
- Query optimizations
|
|
56
57
|
- Extensive re-use of existing sub-query results (via subscriptions)
|
|
57
58
|
- Interim result de-duplication / dataflow gates
|
|
@@ -61,12 +62,12 @@ feature is currently WIP).
|
|
|
61
62
|
|
|
62
63
|
**STABLE** - used in production
|
|
63
64
|
|
|
64
|
-
[Search or submit any issues for this package](https://
|
|
65
|
+
[Search or submit any issues for this package](https://codeberg.org/thi.ng/umbrella/issues?q=%5Brstream-query%5D)
|
|
65
66
|
|
|
66
67
|
This project is currently still in early development and intended as a
|
|
67
68
|
continuation of the Clojure based [thi.ng/fabric](http://thi.ng/fabric),
|
|
68
69
|
this time built on the streaming primitives provided by
|
|
69
|
-
[@thi.ng/rstream](https://
|
|
70
|
+
[@thi.ng/rstream](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/rstream).
|
|
70
71
|
|
|
71
72
|
## Installation
|
|
72
73
|
|
|
@@ -98,28 +99,28 @@ Package sizes (brotli'd, pre-treeshake): ESM: 2.58 KB
|
|
|
98
99
|
|
|
99
100
|
## Dependencies
|
|
100
101
|
|
|
101
|
-
- [@thi.ng/api](https://
|
|
102
|
-
- [@thi.ng/associative](https://
|
|
103
|
-
- [@thi.ng/checks](https://
|
|
104
|
-
- [@thi.ng/equiv](https://
|
|
105
|
-
- [@thi.ng/errors](https://
|
|
106
|
-
- [@thi.ng/logger](https://
|
|
107
|
-
- [@thi.ng/math](https://
|
|
108
|
-
- [@thi.ng/rstream](https://
|
|
109
|
-
- [@thi.ng/rstream-dot](https://
|
|
110
|
-
- [@thi.ng/transducers](https://
|
|
102
|
+
- [@thi.ng/api](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/api)
|
|
103
|
+
- [@thi.ng/associative](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/associative)
|
|
104
|
+
- [@thi.ng/checks](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/checks)
|
|
105
|
+
- [@thi.ng/equiv](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/equiv)
|
|
106
|
+
- [@thi.ng/errors](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/errors)
|
|
107
|
+
- [@thi.ng/logger](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/logger)
|
|
108
|
+
- [@thi.ng/math](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/math)
|
|
109
|
+
- [@thi.ng/rstream](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/rstream)
|
|
110
|
+
- [@thi.ng/rstream-dot](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/rstream-dot)
|
|
111
|
+
- [@thi.ng/transducers](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/transducers)
|
|
111
112
|
|
|
112
113
|
Note: @thi.ng/api is in _most_ cases a type-only import (not used at runtime)
|
|
113
114
|
|
|
114
115
|
## Usage examples
|
|
115
116
|
|
|
116
117
|
One project in this repo's
|
|
117
|
-
[/examples](https://
|
|
118
|
+
[/examples](https://codeberg.org/thi.ng/umbrella/src/branch/develop/examples)
|
|
118
119
|
directory is using this package:
|
|
119
120
|
|
|
120
|
-
| Screenshot | Description | Live demo | Source
|
|
121
|
-
|
|
122
|
-
| <img src="https://
|
|
121
|
+
| Screenshot | Description | Live demo | Source |
|
|
122
|
+
|:--------------------------------------------------------------------------------------------------------------------|:--------------------------------------------|:---------------------------------------------------|:----------------------------------------------------------------------------------------|
|
|
123
|
+
| <img src="https://codeberg.org/thi.ng/umbrella/media/branch/develop/assets/examples/triple-query.png" width="240"/> | Triple store query results & sortable table | [Demo](https://demo.thi.ng/umbrella/triple-query/) | [Source](https://codeberg.org/thi.ng/umbrella/src/branch/develop/examples/triple-query) |
|
|
123
124
|
|
|
124
125
|
## API
|
|
125
126
|
|
|
@@ -234,11 +235,11 @@ generated dataflow topology then looks as follows:
|
|
|
234
235
|
transformed to produce the final solution set and post-process it
|
|
235
236
|
|
|
236
237
|
Btw. The diagram has been generated using
|
|
237
|
-
[@thi.ng/rstream-dot](https://
|
|
238
|
+
[@thi.ng/rstream-dot](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/rstream-dot)
|
|
238
239
|
and can be recreated by calling `store.toDot()` (for the above example)
|
|
239
240
|
|
|
240
241
|
The source code for the above example is
|
|
241
|
-
[here](https://
|
|
242
|
+
[here](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/rstream-query/test/example.ts)
|
|
242
243
|
|
|
243
244
|
(Many) more features forthcoming...
|
|
244
245
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/rstream-query",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.222",
|
|
4
4
|
"description": "@thi.ng/rstream based triple store & reactive query engine",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"sideEffects": false,
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
11
|
-
"url": "git+https://
|
|
11
|
+
"url": "git+https://codeberg.org/thi.ng/umbrella.git",
|
|
12
12
|
"directory": "packages/rstream-query"
|
|
13
13
|
},
|
|
14
14
|
"homepage": "https://thi.ng/rstream-query",
|
|
@@ -40,16 +40,16 @@
|
|
|
40
40
|
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@thi.ng/api": "^8.12.
|
|
44
|
-
"@thi.ng/associative": "^7.1.
|
|
45
|
-
"@thi.ng/checks": "^3.8.
|
|
46
|
-
"@thi.ng/equiv": "^2.1.
|
|
47
|
-
"@thi.ng/errors": "^2.6.
|
|
48
|
-
"@thi.ng/logger": "^3.3.
|
|
49
|
-
"@thi.ng/math": "^5.15.
|
|
50
|
-
"@thi.ng/rstream": "^9.4.
|
|
51
|
-
"@thi.ng/rstream-dot": "^3.0.
|
|
52
|
-
"@thi.ng/transducers": "^9.6.
|
|
43
|
+
"@thi.ng/api": "^8.12.18",
|
|
44
|
+
"@thi.ng/associative": "^7.1.34",
|
|
45
|
+
"@thi.ng/checks": "^3.8.8",
|
|
46
|
+
"@thi.ng/equiv": "^2.1.107",
|
|
47
|
+
"@thi.ng/errors": "^2.6.7",
|
|
48
|
+
"@thi.ng/logger": "^3.3.1",
|
|
49
|
+
"@thi.ng/math": "^5.15.7",
|
|
50
|
+
"@thi.ng/rstream": "^9.4.2",
|
|
51
|
+
"@thi.ng/rstream-dot": "^3.0.172",
|
|
52
|
+
"@thi.ng/transducers": "^9.6.31"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"esbuild": "^0.27.2",
|
|
@@ -112,5 +112,5 @@
|
|
|
112
112
|
"parent": "@thi.ng/rstream",
|
|
113
113
|
"year": 2018
|
|
114
114
|
},
|
|
115
|
-
"gitHead": "
|
|
115
|
+
"gitHead": "8ddf86ea0a1e658ddbf19cc645b29d0c176e29c4\n"
|
|
116
116
|
}
|