Formulex
JSON →Formulex is a lightweight, extensible library (v0.0.60, pre-1.0, rapid releases) that parses user-defined formulas (e.g., `{Field 1} + {Field 2} * 2`) into SQL expressions or executable JavaScript functions, with built-in AST support. It targets low-code platforms, dashboards, and dynamic logic engines. Key differentiators: built-in type casting for `dropdown`/`checkboxes` fields with id↔name mapping via CTE, minimal dependencies (only luxon for dates), and support for custom field mappings. Note: requires Node.js >= 22.11 < 23; work-in-progress, expect breaking changes.
Resources
packageformulex ↗