@rules-cascade/common
The contract the other Rule Cascade packages share. It has no dependencies and evaluates nothing.
The contract the other Rule Cascade (README.md) packages share. It has no dependencies and
evaluates nothing.
| Export | What it is |
|---|---|
| The types | RuleSetDocument, Rule, Bundle, Manifest, EvaluationRequest, EvaluationResult, Finding, Operators and the rest of the specification's shapes |
@rules-cascade/common/cron | The five-field cron schedule the manifest client and the rule server run on: parseCron, startCronTimer, checkTimeZone, CronSchedule, CronError. Also exported from the main entry |
VERSION | The version every package of this release carries |
import type { Manifest, EvaluationRequest } from '@rules-cascade/common';
import { parseCron } from '@rules-cascade/common/cron';
parseCron('*/15 * * * *').next(new Date('2026-10-05T10:07:00Z')); // 2026-10-05T10:15:00.000ZYou rarely install it on its own: @rules-cascade/core re-exports
everything in it, and @rules-cascade/client and
@rules-cascade/server depend on it.
@rules-cascade/core
The Rule Cascade runtime for browsers and Node.js. It implements both conformance levels of the specification: it evaluates bundles and manifests (evaluator) and it loads source documents and produces bundles (compiler).
@rules-cascade/client
Fetches, caches and refreshes Rule Cascade manifests from a rule server, and evaluates them in React. It runs in browsers and Node.js; evaluation itself is @rules-cascade/core.