Event Craft
A Node.js package for domain logic with CQRS, event sourcing and Railway Oriented Programming.
- Commands validate input with zod and return events or errors as fp-ts Either values.
- Aggregates rebuilt from events, with versioned events for event sourcing.
- Example application and Vitest matchers for Either results.
stack
TypeScriptfp-tszodVitest