TSBean PostgreSQL Driver

JSON →
library 3.0.2 ·javascript
verified Jun 4, 2026

PostgreSQL driver for TSBean-ORM, based on the pg library. Current stable version is 3.0.2, released alongside tsbean-orm 3.0.0. This driver automatically handles identifier conversion from camelCase (TypeScript) to snake_case (PostgreSQL), supporting custom conversion or disabling entirely. It is designed exclusively for use with tsbean-orm as a peer dependency. The driver connects to PostgreSQL using the pg package and provides a DataSource via PostgreSQLDriver.createDataSource(). Release cadence follows tsbean-orm releases. Key differentiator: built-in identifier mapping between ORM and database naming conventions.