A clean, extensible, and human-friendly decision tree / workflow engine.
Write your business logic in JSON — no more messy if-else spaghetti.
- Send SMS / Email (just logs by default — plug real providers in 2 min)
- Conditions with safe JS expressions
- Loops with
$loop.index,$loop.isFirst,$loop.isLast, etc. - Chain, branch, repeat — everything you expect
- Add new actions without touching the core (handler pattern)
- 100% TypeScript • Zero dependencies • Fully testable
git clone https://github.com/yourname/decision-tree-engine.git decision-tree-engine
cd decision-tree-engine
npm install
npm run watchnpm test