kysely-postgres-js

JSON →
library 3.0.0 ·javascript
verified Jun 5, 2026

Kysely dialect for PostgreSQL using the Postgres.js client library (version >= 3.4) or Bun's native SQL binding (Bun >= 1.2). This library is the official dialect maintained by the Kysely core team, offering a type-safe SQL query builder for PostgreSQL. Unlike Kysely's core pg dialect, this targets the modern Postgres.js and Bun runtimes. Current stable version is 3.0.0, released with frequent updates. Key differentiators: full TypeScript support, seamless integration with Kysely's type safety, and support for both Node.js and Bun.