chrishoermann/zod-prisma-types

Generator creates zod types for your prisma models with advanced validation

72
/ 100
Verified

Generates Zod schemas for Prisma models, enums, input types, and filter arguments, with support for field-level and model-level custom validators defined directly in Prisma schema comments. Operates as a Prisma generator that produces TypeScript output with configurable options for input type creation, relation validation, and partial type generation. Supports Prisma 4.x–6.x and Zod 3.x–4.x, with field-level validators for strings, numbers, dates, BigInt, and arrays, plus custom validator composition via Prisma comments.

868 stars and 403,820 monthly downloads. Available on npm.

Maintenance 10 / 25
Adoption 20 / 25
Maturity 25 / 25
Community 17 / 25

How are scores calculated?

Stars

868

Forks

77

Language

TypeScript

License

Last pushed

Jan 28, 2026

Monthly downloads

403,820

Commits (30d)

0

Dependencies

6

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/chrishoermann/zod-prisma-types"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.