@openclaw/krillswitch-core
v0.0.1
Published
Pure TypeScript feature-flag evaluator and wire contracts for Krill Switch.
Downloads
84,951
Readme
@openclaw/krillswitch-core
Pure TypeScript feature-flag evaluation and shared wire contracts for Krill Switch.
Registry publication is pending. Until the package is minted, test it from the workspace or a verified packed tarball.
import { evaluateFlag, type FlagConfig } from "@openclaw/krillswitch-core";
declare const flag: FlagConfig;
const result = evaluateFlag(flag, {
key: "user-123",
attributes: { plan: "pro" },
});The package performs no I/O and has no framework dependency. For the full API and evaluation order, see the Core SDK documentation.
License
MIT © OpenClaw Foundation
