@zencomms/core
v0.1.0-alpha.3
Published
ZenComms core package
Readme
@zencomms/core
Shared kernel for ZenComms: config, errors, Result type, TypedEventEmitter, hand-rolled FSM engine, Provider interface, Preview stability markers.
Install
pnpm add @zencomms/coreStability
Alpha — APIs may change until 0.1.0.
Entry points
@zencomms/core— single root export. Sub-barrels (config,errors,result,events,fsm,provider,preview) are re-exported from./dist/index.js.
Usage
import { ok, err, TypedEventEmitter } from '@zencomms/core';
const result = ok({ userId: 'u_123' });
if (result.ok) console.log(result.value.userId);See also
- See the root README for architecture and contributing.
- ADR-001 explains contract stability.
