rules-machine
rules-machine copied to clipboard
📐 A fast, general-purpose JSON Rules Engine.
Add a new type & exported method to support optional input & output definitions alongside the rules that need them. ```ts export type FieldKeyMapping = Record; /** * An associated...
## Add 2 options - [ ] Trace support - runtime sequence & per operation results: - `{ trace?: true }` should collect trace log events with timestamps and debug...
## Extend built-in methods: - [ ] [`clamp`](https://lodash.com/docs/4.17.15#clamp) - helps ensure an input number is within an upper & lower limit. - [ ] [`cloneDeep`](https://lodash.com/docs/4.17.15#cloneDeep) - give rules control over...
#### For all variable/token names: - [ ] Prevent any special symbols or operators in names. - [ ] Opt 1: Filtering `~``!@#$%^&*()-_=+{}|[]\;:'?,./` - exclusionary approach can allow strange edge...