#validation
5 pages tagged validation.
5/5
zod
Package-level reference for zod on npm — install variants, v4 breaking changes (looseObject, mini build), companion packages, and alternatives.
valibot
Package-level reference for valibot — schemas, transforms, pipes, branding, safeParse, and the tree-shaking advantage over zod.
pydantic
Package-level reference for Pydantic on PyPI — install variants, v1 vs v2 split, optional extras, and alternatives.
Zod
TypeScript-first runtime validation library. Define schemas, validate inputs, infer static types — works at API boundaries, env config, forms, and tRPC.
pydantic
Validate and parse data at runtime using Python type hints with Pydantic v2. Covers BaseModel, field validators, nested models, and JSON serialization.