0.1.0 • Published 5 months ago
jsdmn v0.1.0
jsdmn
Evaluate DMN 1.3 decisions both in NodeJS and in browser.
Goal
This project is built for learning, so don't expect production-readiness soon (or anytime, really). Nevertheless, the end goal is to pass the dmntck test suite.
Usage
import { Engine } from 'jsdmn';
const engine = new Engine();
await engine.load(dmnXML);
const result = await engine.evaluateDecision('Decision', { input: 4 });
console.log(result) // prints result
Credits
This library is built upon two amazing projects:
- feelin - JavaScript FEEL interpreter
- dmn-moddle - DMN parser
License
Use under the terms of the MIT license.
0.1.0
5 months ago