What is rich-domain?
@woltz/rich-domain is a TypeScript library that provides building blocks for implementing Domain-Driven Design (DDD) patterns with minimal boilerplate and maximum type safety.Type-Safe
Full TypeScript support with inference for field paths, filters, and operations
Validation Agnostic
Works with Zod, Valibot, ArkType, or any Standard Schema compatible library
Automatic Change Tracking
Track changes across nested entities and collections without boilerplate
ORM Independent
Use with Prisma, Drizzle, TypeORM, or any persistence layer