How to use the json-rules-engine.Rule function in json-rules-engine

To help you get started, we’ve selected a few json-rules-engine examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github mathcoll / t6 / t6decisionrules.js View on Github external
r.forEach(function(theRule) {
			theRule.rule.event.params.rule_id = theRule.id;
			engine.addRule(new Rule(theRule.rule));
		});
	}

json-rules-engine

Rules Engine expressed in simple json

ISC
Latest version published 9 months ago

Package Health Score

71 / 100
Full package analysis

Popular json-rules-engine functions