{"library":"pg-structure","type":"library","category":null,"description":"pg-structure is a TypeScript-first library designed to reverse engineer a PostgreSQL database schema into a detailed JavaScript object structure. It provides an API to programmatically access and navigate details about databases, schemas, tables, columns, foreign keys, relations, indexes, and custom types. The current stable version is 7.15.3. Releases are somewhat infrequent, with several bug fix releases in 2024 and feature additions in 2023 and prior years, indicating active maintenance. Its key differentiator is offering a comprehensive, introspected object model of the entire PostgreSQL schema, which is useful for ORM generators, database documentation tools, schema analysis scripts, or custom code generation, rather than just basic table listings. It handles complex PostgreSQL features like custom types and generated columns.","language":"javascript","status":"active","version":"7.15.3","tags":["javascript","postgresql","reverse engineer","pg","structure","database","object","typescript"],"install":[{"cmd":"npm install pg-structure","imports":["import pgStructure from 'pg-structure';","import type { Db } from 'pg-structure';","import type { Table } from 'pg-structure';"]},{"cmd":"yarn add pg-structure","imports":[]},{"cmd":"pnpm add pg-structure","imports":[]}],"homepage":"https://www.pg-structure.com","github":"https://github.com/ozum/pg-structure","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/pg-structure","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/pg-structure/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Tue Jul 21","install_tag":null}}