Skip to main content

JSON Logic Engine

For implementing safe & complex persistable logic.

Fast, Powerful & Persistable Logic

Using a lisp-like language created using JSON, you can use this engine to define rules & sets of logic to power your applications.

This makes it easy to persist safe instructions in a database, and provide custom processing for your customers.

This module supports both synchronous & asynchronous versions of the engine, so that you may run advanced processes that may involve fetching data from endpoints.

Additionally, the module supports function compilation to try to get near-native performance wherever it can.

npm install json-logic-engine 
-- or --
yarn add json-logic-engine

Runs in the Browser & in Node