rules-engine-lib is a simple rules engine allows you to cleanly abstract your rules away from your application code
- Run your dataset against a conditions JSON object.
- Results can modify your dataset or can return a new dataset of outcomes.
- It's isomorphic and has no package dependencies - great for the browser and the server.
bun add rules-engine-lib
or
npm install rules-engine-lib
or
yarn add rules-engine-lib
or
pnpm add rules-engine-lib
- Logger interface for custom logging