Introspectron introspects a PostgreSQL database and generates a typed SDK with GraphQL, REST, or direct SQL endpoints. The current stable version is 4.11.8, released regularly on npm. It differentiates by offering multiple output formats (GraphQL schema, REST endpoints, TypeScript SDK) from a single introspection, supporting Graphile Engine for advanced schema generation. It requires a running PostgreSQL instance and outputs code for both Node.js and browser environments.
npm install introspectronNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Introspects a PostgreSQL database and logs the generated GraphQL schema.
Access result.schema instead of the whole result.
Use the 'introspectron' named export instead.
Grant SELECT on pg_catalog tables to the user.
Upgrade Node.js to version 14 or above.
Handle WebSocket connections when using watch: true.
Run npm install pg
Use import { introspectron } from 'introspectron'Check DATABASE_URL environment variable or pool config