1.4.2 • Published 1 year ago

zod-error-viewer v1.4.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

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

import { ZodErrorViewer } from "zod-error-viewer";

<ZodErrorViewer
  data={/* data that was validated */}
  error={/* ZodError that occurred */}
/>;

Documentation

For more examples and documentation, see: https://benlorantfy.github.io/zod-error-viewer

1.4.2

1 year ago

1.3.0

1 year ago

1.2.2

1 year ago

1.2.1

1 year ago

1.2.0

1 year ago

1.1.6

1 year ago

1.1.5

1 year ago

1.1.4

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.1.1

1 year ago

1.0.1

1 year ago

0.0.1

1 year ago