@ruleenginejs/compiler
v1.0.6
Published
Rule engine compiler
Downloads
8
Readme
@ruleenginejs/compiler
Installation
npm install @ruleenginejs/compiler
Usage
Compile module
const { compile } = require("@ruleenginejs/compiler");
const pipeline = compile(input, { runtimeModule: "@ruleenginejs/runtime" });
pipeline.execute();
Generate code
const { generateCode } = require("@ruleenginejs/compiler");
const code = generateCode(input, { runtimeModule: "@ruleenginejs/runtime" });
License
Licensed under the MIT License.