@gorules/zen-engine 0.10.1 → 0.11.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 +8 -4
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
[](https://opensource.org/licenses/MIT)
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
# NodeJS Rules Engine (ZEN Engine)
|
|
4
4
|
|
|
5
|
-
ZEN Engine is
|
|
5
|
+
ZEN Engine is a cross-platform, Open-Source Business Rules Engine (BRE). It is written in **Rust** and provides native bindings for **NodeJS** and **Python**. ZEN Engine allows to load and execute [JSON Decision Model (JDM)](https://gorules.io/docs/rules-engine/json-decision-model) from JSON files.
|
|
6
|
+
|
|
7
|
+
<img width="1258" alt="JSON Decision Model" src="https://user-images.githubusercontent.com/60513195/224425568-4a717e34-3d4b-4cc6-b031-8cd35f8ff459.png">
|
|
8
|
+
|
|
9
|
+
An open-source React editor is available on our [JDM Editor](https://github.com/gorules/jdm-editor) repo.
|
|
6
10
|
|
|
7
11
|
## Usage
|
|
8
12
|
|
|
@@ -68,9 +72,9 @@ Similar to this example you can also utilise loader to load from different place
|
|
|
68
72
|
|
|
69
73
|
JDM is a modeling standard for business decisions and business rules and is stored in a JSON format. Decision models are represented by graphs. Graphs are built using nodes and edges. Edges are used to pass the data from one node to another (left-side to right-side).
|
|
70
74
|
|
|
71
|
-
|
|
75
|
+
An open-source version of the React Component is available on our [JDM Editor](https://github.com/gorules/jdm-editor) repo.
|
|
72
76
|
|
|
73
|
-
|
|
77
|
+
You can try [Free Online Editor](https://editor.gorules.io) with built in Simulator.
|
|
74
78
|
|
|
75
79
|
[JSON Example](https://github.com/gorules/zen/blob/master/test-data/credit-analysis.json)
|
|
76
80
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gorules/zen-engine",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"types": "./index.d.ts",
|
|
6
6
|
"license": "MIT",
|
|
@@ -79,12 +79,12 @@
|
|
|
79
79
|
"prepublishOnly": "napi prepublish",
|
|
80
80
|
"version": "napi version"
|
|
81
81
|
},
|
|
82
|
-
"gitHead": "
|
|
82
|
+
"gitHead": "e1469a21de1818564f2610c03b941d05667ac871",
|
|
83
83
|
"optionalDependencies": {
|
|
84
|
-
"@gorules/zen-engine-darwin-x64": "0.
|
|
85
|
-
"@gorules/zen-engine-linux-x64-gnu": "0.
|
|
86
|
-
"@gorules/zen-engine-win32-x64-msvc": "0.
|
|
87
|
-
"@gorules/zen-engine-linux-arm64-gnu": "0.
|
|
88
|
-
"@gorules/zen-engine-darwin-arm64": "0.
|
|
84
|
+
"@gorules/zen-engine-darwin-x64": "0.11.0",
|
|
85
|
+
"@gorules/zen-engine-linux-x64-gnu": "0.11.0",
|
|
86
|
+
"@gorules/zen-engine-win32-x64-msvc": "0.11.0",
|
|
87
|
+
"@gorules/zen-engine-linux-arm64-gnu": "0.11.0",
|
|
88
|
+
"@gorules/zen-engine-darwin-arm64": "0.11.0"
|
|
89
89
|
}
|
|
90
90
|
}
|