z

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

VersionChanges
v0.1.2z introduced