JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 4
  • Score
    100M100P100Q40093F
  • License ISC

Rule engine for Sitecore JSS

Package Exports

  • @jss-rule-engine/core
  • @jss-rule-engine/core/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@jss-rule-engine/core) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Sitecore JSS Rule Engine

The sitecore-jss-rule-engine package provides a flexible, extensible rule engine for Sitecore JavaScript Services (JSS) applications. It enables you to define, evaluate, and execute rules and workflows in your Sitecore-powered apps, supporting advanced personalization, automation, and business logic scenarios.

Features

  • Rule Definition: Create rules using JSON or JavaScript objects.
  • Condition Evaluation: Evaluate complex conditions based on context data.
  • Action Execution: Trigger actions when rule conditions are met.
  • Workflow Support: Orchestrate multi-step workflows using rules.
  • Extensible: Add custom conditions and actions.

Usage

The core class of this package is JssRuleEngine. It allows you to define rules, evaluate them against a context, and execute actions when conditions are met.