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.7
- Last push
- 2026-11-22
alternatives to
The most powerful data validation library for JS
Zod, Yup, Ajv and more. 4 alternatives to Joi, in TypeScript. Compare fit, licence, stars and the latest signed release.
| Tool | Fit | Stars | Licence | Terms | Self-hosted | Language | Latest | Last push |
|---|---|---|---|---|---|---|---|---|
| Zod | Full replacement | 44k | MIT | Open source | No | TypeScript | v4.6.7 | 2026-11-22 |
| Yup | Full replacement | 24k | MIT | Open source | No | TypeScript | v1.0.0 | 2026-11-22 |
| Ajv | Partial | 15k | MIT | Open source | No | TypeScript | v8.20.0 | 2026-09-06 |
| class-validator | Partial | 12k | MIT | Open source | No | TypeScript | v0.15.1 | 2026-03-25 |
4 alternatives
TypeScript-first schema validation with static type inference
Schema validation with static type inference, for Node.js and browsers.
Dead simple Object schema validation
Chained schema builders with validation and casting, for browsers and Node.js.
The fastest JSON schema Validator. Supports JSON Schema draft-04/06/07/2019-09/2020-12 and JSON Type Definition (RFC8927)
Validates against JSON Schema documents instead of a builder API.
Decorator-based property validation for classes.
Validation rules declared as decorators on TypeScript classes instead of a schema object.