1 repo
Tools for verifying the structure and content of untrusted external data at the application boundary to ensure type safety.
Distinguishing note: This category focuses on runtime schema enforcement and data integrity checks, distinct from general-purpose testing or database-level constraints.
Explore 1 awesome GitHub repository matching software engineering & architecture · Data Validation Libraries. Refine with filters or upvote what's useful.
Zod is a TypeScript-first schema declaration and validation library designed to ensure end-to-end data integrity. It functions as a runtime type guard, allowing developers to define complex data structures through a declarative, chainable syntax. By using these schema definitions, the library automatically derives static TypeScript types, eliminating the need for manual type duplication and ensuring that runtime data matches expected application contracts. The library distinguishes itself through functional schema composition, which enables the creation of hierarchical structures by nesting a
Provides robust runtime schema validation to ensure incoming data conforms to expected types and structures before processing.