Installation
Install doba and get up and running in seconds.
Installation
Install doba
bun add dobajsnpm install dobajspnpm add dobajsyarn add dobajsInstall a schema library
doba works with any Standard Schema compliant library. Pick one:
bun add zodnpm install zodpnpm add zodyarn add zodbun add valibotnpm install valibotpnpm add valibotyarn add valibotbun add arktypenpm install arktypepnpm add arktypeyarn add arktypeCreate your first registry
import { createRegistry } from 'dobajs'
const registry = createRegistry({
schemas: {
/* your schemas */
},
migrations: {
/* your migrations */
},
})Head to Quick Start for a full walkthrough.
Requirements
- TypeScript 5.0+
- ESM (doba is ESM-only)
- Any Standard Schema compliant library (Zod, Valibot, ArkType, etc.)
doba has zero runtime dependencies. The only peer requirement is your schema library of choice.