better-ajv-errors

JSON →
library 2.0.3 ·javascript
verified Jun 7, 2026

A library that formats JSON Schema validation errors from Ajv into human-readable messages with codeframe highlighting and suggestions. Current version 2.0.3 supports Ajv versions 4.11.8 through 8, and requires Node >= 18.20.6. Ships TypeScript types and offers both CLI (console-friendly) and JS (structured) output formats. Unlike raw Ajv error objects, better-ajv-errors provides line/column references and 'did you mean?' suggestions.