Back to results
BenLorantfy/zod-error-viewer(opens in a new tab)
Language: TypeScript
Quickly grok zod errors
- stars
- 14
- watchers
- 1
- forks
- 0
- open issues
- 0
- Last updated
- 01/08/2026
Language: TypeScript
Quickly grok zod errors
Quickly visualize and understand even the meanest zod errors ✔️
Zod is a game changer for building quality software. However, hairy zod errors can take a while to understand. The goal of zod-error-viewer is to drastically cut down on the time it takes to read and understand even the most complex zod errors.
npm install zod-error-viewer
import { ZodErrorViewer } from "zod-error-viewer"; <ZodErrorViewer data={/* data that was validated */} error={/* ZodError that occurred */} />;
For more examples and documentation, see: https://benlorantfy.github.io/zod-error-viewer