Rule Cascade
ReferencePackage READMEs

@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.

ExportWhat it is
The typesRuleSetDocument, Rule, Bundle, Manifest, EvaluationRequest, EvaluationResult, Finding, Operators and the rest of the specification's shapes
@rules-cascade/common/cronThe five-field cron schedule the manifest client and the rule server run on: parseCron, startCronTimer, checkTimeZone, CronSchedule, CronError. Also exported from the main entry
VERSIONThe 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.000Z

You 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.