{"library":"extract-pg-schema","type":"library","category":null,"description":"extract-pg-schema is a utility library designed to programmatically extract comprehensive metadata from a PostgreSQL database and return it as a structured JavaScript object. Currently stable at version 5.8.1, the package maintains an active release schedule, frequently delivering patch and minor updates to enhance features and ensure compatibility. It serves as a foundational component for other tools like Kanel, which leverages its output to generate TypeScript types, and Schemalint, used for database schema linting. A key differentiator is its ability to integrate seamlessly with standard `node-postgres` connection configurations and its provision of both a flexible programmatic API and a convenient command-line interface, making it adaptable for various use cases ranging from automated code generation to direct schema inspection.","language":"javascript","status":"active","version":"5.8.1","tags":["javascript","postgresql","schema","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install extract-pg-schema","imports":["import { extractSchemas } from 'extract-pg-schema';","import type { ExtractSchemasOptions } from 'extract-pg-schema';","import type { PgSchema } from 'extract-pg-schema';"]},{"cmd":"yarn add extract-pg-schema","imports":[]},{"cmd":"pnpm add extract-pg-schema","imports":[]}],"homepage":null,"github":"https://github.com/kristiandupont/extract-pg-schema","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/extract-pg-schema","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/extract-pg-schema/compatibility"}}