Open-Source Library

Zod
A TypeScript-first schema library for validating and parsing untrusted values.
Overview
Zod lets TypeScript applications define runtime schemas while inferring corresponding static types. It supports object composition, transformations, refinements, and structured errors for untrusted data.