comparar
Ajv vs Yup
Los mismos datos para ambos, leídos de GitHub cada noche, y la relación que revisó una persona.
| Dato | Ajv | Yup |
|---|---|---|
| Lenguaje | TypeScript | TypeScript |
| Licencia | MIT | MIT |
| Estrellas | 15k | 24k |
| Última versión | v8.20.0 | v1.0.0 |
| Último push | 2026-09-06 | 2026-11-22 |
| Ritmo de versiones | alrededor de 35 días entre versiones | muy pocas versiones |
| Colaboradores activos | 0 autores de commits en la rama por defecto en los últimos 90 días | 0 autores de commits en la rama por defecto en los últimos 90 días |
| Avisos | ninguno | ninguno |
Cómo se relacionan
Ambos sustituyen a Joi. Alternativas a Joi →
ParcialAjvValidates against JSON Schema documents instead of a builder API.
Sustitución completaYupChained schema builders with validation and casting, for browsers and Node.js.
Ambos sustituyen a Zod. Alternativas a Zod →
ParcialAjvValidates against JSON Schema documents, with no built-in TypeScript type inference from the schema.
Sustitución 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 fieldversión preliminar
- v1.0.0-beta.52022-08-22v1.0.0-beta.5 - partial fixes and cast migration pathversión preliminar
- v1.0.0-beta.42022-08-22chore(deps): update all non-major dependenciesversión preliminar
- v1.0.0-beta.32022-03-09Fix object.partial(), `required` changesversión preliminar
Ajv
✓ firmada La última versión, v8.20.0, lleva una firma que GitHub ha verificado.
Cargando el informe de seguridad
Yup
sin firmar La última versión, v1.0.0, no lleva ninguna firma que GitHub haya podido verificar.
Cargando el informe de seguridad