{"library":"pg-tables-to-zod","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"1.0.24","tags":["javascript","typescript"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install pg-tables-to-zod","imports":["import { convert } from 'pg-tables-to-zod'","import type { TConfiguration } from 'pg-tables-to-zod'","import type { OutputSchema } from 'pg-tables-to-zod'"]},{"cmd":"yarn add pg-tables-to-zod","imports":[]},{"cmd":"pnpm add pg-tables-to-zod","imports":[]}],"homepage":"https://github.com/SpringTree/pg-tables-to-zod#readme","github":"https://github.com/SpringTree/pg-tables-to-zod","docs":null,"changelog":null,"pypi":null,"npm":"pg-tables-to-zod","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}