Preparing for system design interviews?  Try bugzed.com →

pg-tables-to-zod

JSON →
library 1.0.24 ·javascript
verified Jun 5, 2026

A CLI tool and Node module (v1.0.24) that introspects PostgreSQL database schemas and generates Zod v4 type schemas for each table and view. It connects directly to a Postgres instance using pg-structure, outputs TypeScript files, and supports customizable configuration via JSON files. Unlike manual schema writing or ORM-based generators, it provides a focused, zero-runtime-dependency pipeline for keeping Zod definitions in sync with database schemas. Release cadence is irregular; last update was in 2025.

total hits 7
actors 2 distinct systems
last hit 17d ago AhrefsBot
GPTBot
3
Humans
3

top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇨🇦 Canada