json-logic-js

Build complex rules, serialize them as JSON, and execute them in JavaScript