node-rules icon indicating copy to clipboard operation
node-rules copied to clipboard

Node-rules is a light weight forward chaining rule engine that can be used in JavaScript and TypeScript based projects.

Results 25 node-rules issues
Sort by recently updated
recently updated
newest added

Bumps [terser](https://github.com/terser/terser) from 5.7.1 to 5.14.2. Changelog Sourced from terser's changelog. v5.14.2 Security fix for RegExps that should not be evaluated (regexp DDOS) Source maps improvements (#1211) Performance improvements in...

dependencies

Hello, Thanks for creating a great library !! I would like to use it with a Typescript project. Do you have any Type definition files which can be used?

Are any of these still need? Seems they were all merged and possibly forgotten about. https://github.com/mithunsatheesh/node-rules/tree/mi04-patch-1 https://github.com/mithunsatheesh/node-rules/tree/feature-internal-functions https://github.com/mithunsatheesh/node-rules/tree/feature-sync https://github.com/mithunsatheesh/node-rules/tree/hotfix-multiple-consequence-execution https://github.com/mithunsatheesh/node-rules/tree/dev

First of all, thanks so much for this rules engine! It's pretty much exactly what I was looking for! The one question I have is what is the recommended way...

Hi, Would it be possible to load examples with complex facts, e.g. object with nested array of objects? How would you manipulate them? Example: ``` var fact = { "parentObject":...

Firstly thanks a lot for this library! Working with this has been a pleasure! I wrapped your library in a REST API. I then sent it batches of anything from...

enhancement

While I think the rules engine is great, do you know if anyone has done a companion UI for this package? I have users that really want a visual toolset....

feature

Why not have rules call `next` automatically when the condition function is done...? Saves boilerplate IMO.

enhancement

The mixing of function definitions in the JSON specification of rules and such is a real pain, also for debugging. I can imagine a "debug" running mode where the functions...

no need to add details for why `eval` is evil so i think a better solution and more safety is to use the [`vm`](https://nodejs.org/api/vm.html) module. example implementation (it works): ```...