JSON Logic JavaScript Interpreter

JSON →
library 2.0.5 ·javascript maintenance
verified May 27, 2026

json-logic-js is a JavaScript parser and executor for JsonLogic rules, allowing developers to define complex business logic as JSON objects. This enables the sharing and persistence of rules across different programming languages (e.g., JavaScript and PHP) and environments (front-end, back-end, database storage). The library currently stands at version 2.0.5, with an infrequent release cadence focused on maintenance and bug fixes rather than rapid feature development. Its core differentiator is the adherence to the well-documented, language-agnostic JsonLogic format, which explicitly separates rules from data and avoids side effects, ensuring deterministic computation. Alternatives like `json-logic-engine` offer modern ESM/CJS support and performance optimizations, highlighting `json-logic-js`'s legacy UMD module format as a point of contrast.

total hits 21
actors 9 distinct systems
last hit 17h ago OAI-SearchBot
OAI-SearchBot
4
MetaBot
4
ChatGPT-User
3
GPTBot
2
Script
1
ClaudeBot
1
Search engines
1

top countries 🇺🇸 United States · 🇫🇷 France · 🇨🇦 Canada · 🇩🇪 Germany · 🇵🇱 Poland