z
Zod, re-exported so a project needs no dependency of its own.
import { z } from "curb";
Example
const schema = z.object({ policy: z.string().length(8), amount: z.number().positive() });
Version history
| Version | Changes |
|---|---|
| v0.1.2 | z introduced |
zZod, re-exported so a project needs no dependency of its own.
import { z } from "curb";
const schema = z.object({ policy: z.string().length(8), amount: z.number().positive() });
| Version | Changes |
|---|---|
| v0.1.2 | z introduced |