comparar
Ajv vs Yup
Os mesmos fatos para os dois, lidos do GitHub toda noite, e a relação que uma pessoa revisou.
| Fato | Ajv | Yup |
|---|---|---|
| Linguagem | TypeScript | TypeScript |
| Licença | MIT | MIT |
| Estrelas | 15k | 24k |
| Última release | v8.20.0 | v1.0.0 |
| Último push | 2026-09-06 | 2026-11-22 |
| Ritmo de releases | cerca de 35 dias entre releases | poucas releases |
| Contribuidores ativos | 0 autor de commits na branch padrão nos últimos 90 dias | 0 autor de commits na branch padrão nos últimos 90 dias |
| Alertas | nenhum | nenhum |
Como se relacionam
Os dois substituem Joi. Alternativas a Joi →
ParcialAjvValidates against JSON Schema documents instead of a builder API.
Substituição completaYupChained schema builders with validation and casting, for browsers and Node.js.
Os dois substituem Zod. Alternativas a Zod →
ParcialAjvValidates against JSON Schema documents, with no built-in TypeScript type inference from the schema.
Substituição completaYupSchema builders with TypeScript type inference.
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…
Yup
- v1.0.02023-02-08v1 Because I finally got around to it
- v1.0.0-beta.72022-08-22Fixes published artifacts for the main fieldpré-release
- v1.0.0-beta.52022-08-22v1.0.0-beta.5 - partial fixes and cast migration pathpré-release
- v1.0.0-beta.42022-08-22chore(deps): update all non-major dependenciespré-release
- v1.0.0-beta.32022-03-09Fix object.partial(), `required` changespré-release
Ajv
✓ assinada A última release, v8.20.0, tem uma assinatura verificada pelo GitHub.
Carregando o relatório de segurança
Yup
não assinada A última release, v1.0.0, não tem nenhuma assinatura que o GitHub consiga verificar.
Carregando o relatório de segurança