0.0.1-alpha-commit-2619f0aa9c29489b3584a8ee2099efd4333cbcc3 • Published 10 months ago

@pesto-io/pesto-zod v0.0.1-alpha-commit-2619f0aa9c29489b3584a8ee2099efd4333cbcc3

Weekly downloads
-
License
ISC
Repository
github
Last release
10 months ago

Pesto

npm bundle size

CircleCI (branch)

Pesto Zod

The pesto-zod npm package contains zod related utilities that the pesto app uses.

One of the most important, is the ZodSchemaParser, which is able to read some source code providd as a simple string, and to instantiate a zod schema.

How to Use

  • first, install the package:
npm i @pesto-io/pesto-zod
# pnpm add @pesto-io/pesto-zod
  • Then, in your code, you can:
import { ZodSchemaParser } from "@pesto-io/pesto-zod"

Contribute

Git clone the source, and:

  • Install dependencies:
pnpm i

Generate the docs

pnpm run gen:api-docs

The Astro docs (WIP)

pnpm run build:docs:astro
# pnpm run dev:docs:astro