compare
Ajv vs Joi
The same facts for both, read from GitHub every night, and the relation a person reviewed.
| Fact | Ajv | Joi |
|---|---|---|
| Language | TypeScript | JavaScript |
| Licence | MIT | Other |
| Stars | 15k | 21k |
| Latest | v8.20.0 | v18.3.2 |
| Last push | 2026-09-06 | 2026-11-04 |
| Release cadence | about 35 days between releases | too few releases |
| Active contributors | 0 commit authors on the default branch in the last 90 days | 3 commit authors on the default branch in the last 90 days |
| Flags | none | none |
How they relate
Ajv replaces Joi. Alternatives to Joi →
PartialValidates against JSON Schema documents instead of a builder API.
Both replace Zod. Alternatives to Zod →
PartialAjvValidates against JSON Schema documents, with no built-in TypeScript type inference from the schema.
Full replacementJoiSchema builders for Node.js with detailed validation messages.
Ajv
- v8.20.02026-04-24fix: add support for node 22/24, drop node 16/21
- v8.19.02026-04-24fix prototype pollution via format keyword using $data ref
- v8.18.02026-02-14feat: allow tree-shaking by adding "sideEffects": false to package.json
- v8.17.12024-07-12bump version to 8.17.1
- v8.17.02024-07-10The only functional change is to switch from uri-js (which is no longer supported), to fast-uri. This is the second att…
Joi
This repository publishes tags, not GitHub releases.
Ajv
✓ signed The latest release, v8.20.0, carries a signature GitHub verified.
Loading the security report
Joi
unsigned The latest release, v18.3.2, carries no signature GitHub could verify.
Loading the security report