rules-engine-lib
Version:
A Ts rules engine lib
50 lines (32 loc) • 928 B
Markdown
# Table of contents
- [Introduction](#introduction)
- [Installation](#installation)
- [Usage](#usage)
- [Stable features](#stable-features)
- [TODOs](#todos)
## Introduction
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.
---------------------------------------------------------------
## Installation
````bash
bun add rules-engine-lib
````
or
```bash
npm install rules-engine-lib
```
```bash
yarn add rules-engine-lib
```
or
```bash
pnpm add rules-engine-lib
```
## Usage
### Stable features
- [Documentation of the main stable features (`RulesEngine` module)](index.md)
## TODOs
- [ ] Logger interface for custom logging