Rule Engine
Pipeline creation using the visual VS Code Editor for javascript.
Editor
VS Code visual editor of rule files, intuitive and simple editing, uses steps and connections.
Compiler
Compiler of rule files for popular bundlers rollup and webpack, and extension for VS Code.
Where to use
Pipelines can be used on both the UI and the backend. There are use cases for Express and NestJS.
Installation
# install with npm
npm install @ruleenginejs/runtime
# install with yarn
yarn add @ruleenginejs/runtime
Usage
foo.rule
hello-step.js
export default (context, next) => {
console.log('Hello, world!');
next();
}
App.js
Use the rollup plugin, webpack loader or VS Code Extension to compile the rule file into javascript.
import foo from './foo.rule';
foo.execute().catch(e => console.error(e));