Preparing for system design interviews?  Try bugzed.com →

pg-tables-to-jsonschema

JSON →
library 1.1.3 ·javascript
verified Jun 5, 2026

A command-line utility and Node.js module to convert PostgreSQL table definitions into JSON Schema (Draft-04/07 compatible). Version 1.1.3 is the latest stable release, with active but infrequent updates. Uses pg-structure internally for schema introspection. Supports multiple PostgreSQL schemas, table inclusion/exclusion, custom base URLs, and config files. Less feature-rich than alternatives like 'db-to-jsonschema' but focused on simplicity and direct PostgreSQL integration. Written in TypeScript, ships type definitions.

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

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