Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/benlorantfy/zod-error-viewer
Quickly grok zod errors
https://github.com/benlorantfy/zod-error-viewer
Last synced: about 2 months ago
JSON representation
Quickly grok zod errors
- Host: GitHub
- URL: https://github.com/benlorantfy/zod-error-viewer
- Owner: BenLorantfy
- License: mit
- Created: 2024-06-02T14:48:19.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-08-11T14:00:24.000Z (5 months ago)
- Last Synced: 2024-10-12T01:48:57.142Z (2 months ago)
- Language: TypeScript
- Size: 1.14 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
zod-error-viewer
Quickly visualize and understand even the meanest zod errors ✔️
## Motivation
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.
## Getting Started
### Installing
```
npm install zod-error-viewer
```### Basic Example
```tsx
import { ZodErrorViewer } from "zod-error-viewer";;
```### Documentation
For more examples and documentation, see: https://benlorantfy.github.io/zod-error-viewer