comparar
Ajv vs Zod
Os mesmos fatos para os dois, lidos do GitHub toda noite, e a relação que uma pessoa revisou.
| Fato | Ajv | Zod |
|---|---|---|
| Linguagem | TypeScript | TypeScript |
| Licença | MIT | MIT |
| Estrelas | 15k | 44k |
| Última release | v8.20.0 | v4.6.7 |
| Último push | 2026-09-06 | 2026-11-22 |
| Ritmo de releases | cerca de 35 dias entre releases | cerca de 1 dia entre releases |
| Contribuidores ativos | 0 autor de commits na branch padrão nos últimos 90 dias | 8 autores de commits na branch padrão nos últimos 90 dias |
| Alertas | nenhum | nenhum |
Como se relacionam
Ajv substitui Zod. Alternativas a Zod →
ParcialValidates against JSON Schema documents, with no built-in TypeScript type inference from the schema.
Os dois substituem Joi. Alternativas a Joi →
ParcialAjvValidates against JSON Schema documents instead of a builder API.
Substituição completaZodSchema validation with static type inference, for Node.js and browsers.
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…
Zod
- v4.6.72026-10-12b500a2ee95134f81d74da7911d7378dd2853d042 4.6.7
- v4.6.62026-10-11> Six malicious commits pushed to main on September 21 with a compromised git credential were reverted the same day in…
- v4.6.52026-09-13d2b135cfb7a3582b9eb515756b9166bcb9521f4a docs: add the 4.6.x patch highlights to the 4.6 post
- v4.6.42026-09-13A patch on top of 4.6.3.
- v4.6.32026-09-12A patch on top of 4.6.2.
Ajv
✓ assinada A última release, v8.20.0, tem uma assinatura verificada pelo GitHub.
Carregando o relatório de segurança
Zod
✓ assinada A última release, v4.6.7, tem uma assinatura verificada pelo GitHub.
Carregando o relatório de segurança