TypeScript-first schema validation with static type inference
Schema validation with static type inference, for Node.js and browsers.
- Language
- TypeScript
- Licence
- MIT
- Stars
- 44k
- Latest
- v4.6.5
- Last push
- 2026-10-02
alternatives to
The most powerful data validation library for JS
| Tool | Fit | Stars | Licence | Terms | Self-hosted | Language | Latest | Last push |
|---|---|---|---|---|---|---|---|---|
| Zod | Full replacement | 44k | MIT | Open source | No | TypeScript | v4.6.5 | 2026-10-02 |
| class-validator | Partial | 12k | MIT | Open source | No | TypeScript | v0.15.1 | 2026-03-25 |
2 alternatives
TypeScript-first schema validation with static type inference
Schema validation with static type inference, for Node.js and browsers.
Decorator-based property validation for classes.
Validation rules declared as decorators on TypeScript classes instead of a schema object.