Koka is a monorepo containing several packages that provide algebraic effects and domain-driven development capabilities for TypeScript applications.
koka - Core Effects Library
A lightweight 3kB alternative to Effect-TS based on Algebraic Effects
- Typed error handling
- Context management
- Async operations
- Minimal API surface
koka-ddd - DDD Framework
An AI-Oriented Domain-Driven Design framework built on Koka
- Algebraic effects for domain modeling
- Optics integration
- CQRS patterns
koka-domain - Data Accessors
Bidirectional data accessors with optics
- Type-safe data transformations
- Lens/prism support
- Effectful data operations
- Composable access patterns
We welcome contributions! Please see our Contribution Guidelines.
MIT