eyeling 1.28.9 → 1.29.0
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 +60 -1
- package/dist/browser/eyeling.browser.js +915 -0
- package/dist/browser/index.mjs +10 -0
- package/eyeling.js +915 -0
- package/index.d.ts +59 -0
- package/index.js +17 -0
- package/lib/cli.js +102 -0
- package/lib/engine.js +120 -0
- package/lib/entry.js +4 -0
- package/lib/rdfjs.js +1 -0
- package/lib/store.js +685 -0
- package/package.json +8 -3
- package/test/store.test.js +138 -0
- package/tools/bundle.js +10 -0
package/dist/browser/index.mjs
CHANGED
|
@@ -12,6 +12,10 @@ function getBrowserApi() {
|
|
|
12
12
|
|
|
13
13
|
export const INFERENCE_FUSE_EXIT_CODE = 65;
|
|
14
14
|
|
|
15
|
+
export function runAsync(input, opts) {
|
|
16
|
+
return getBrowserApi().runAsync(input, opts);
|
|
17
|
+
}
|
|
18
|
+
|
|
15
19
|
export function reasonStream(input, opts) {
|
|
16
20
|
return getBrowserApi().reasonStream(input, opts);
|
|
17
21
|
}
|
|
@@ -20,6 +24,10 @@ export function reasonRdfJs(input, opts) {
|
|
|
20
24
|
return getBrowserApi().reasonRdfJs(input, opts);
|
|
21
25
|
}
|
|
22
26
|
|
|
27
|
+
export function createFactStore(options) {
|
|
28
|
+
return getBrowserApi().createFactStore(options);
|
|
29
|
+
}
|
|
30
|
+
|
|
23
31
|
export function registerBuiltin(iri, handler) {
|
|
24
32
|
return getBrowserApi().registerBuiltin(iri, handler);
|
|
25
33
|
}
|
|
@@ -67,9 +75,11 @@ const eyeling = {
|
|
|
67
75
|
return getBrowserApi().version;
|
|
68
76
|
},
|
|
69
77
|
INFERENCE_FUSE_EXIT_CODE,
|
|
78
|
+
runAsync,
|
|
70
79
|
reasonStream,
|
|
71
80
|
reasonRdfJs,
|
|
72
81
|
rdfjs,
|
|
82
|
+
createFactStore,
|
|
73
83
|
registerBuiltin,
|
|
74
84
|
unregisterBuiltin,
|
|
75
85
|
registerBuiltinModule,
|