Rule Engine

Rule Engine

Pipeline creation using the visual VS Code Editor for javascript.

Get Started → Install VS Code Extension open in new window

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

hello-step.js

export default (context, next) => {
  console.log('Hello, world!');
  next();
}

App.js

Use the rollup pluginopen in new window, webpack loaderopen in new window or VS Code Extensionopen in new window to compile the rule file into javascript.

import foo from './foo.rule';

foo.execute().catch(e => console.error(e));