Zod
Data validation with schemas and inferred TypeScript types.
LibraryOpen source
Schema library for TypeScript that validates data at runtime and infers static types from the same schema.
When to use
To validate API inputs, forms and environment variables with guaranteed types.
When to avoid
In very high-performance paths, where the runtime validation cost matters.
Alternatives
They do a similar job. Compare before choosing.
Data validation in Python using type hints.
LibraryOpen source★ 29.2K
Related
From the same area, with a close purpose.
Secure runtime for JavaScript and TypeScript, with native TypeScript.
RuntimeOpen source★ 108.8KNode framework with modular architecture, inspired by Angular.
FrameworkOpen source★ 76.9KUltralight web framework for edge and Node.
FrameworkOpen source★ 32.8KFramework for Bun with end-to-end types.
FrameworkOpen source★ 19.3K