fluent-pg is the official PostgreSQL driver for fluent-orm, a Node.js ORM. Version 0.3.6 is the latest stable release. It integrates seamlessly with fluent-orm's configurator pattern, enabling PostgreSQL connections via a simple configuration object. As a driver-only package, it does not include ORM features itself, making it lightweight. It ships TypeScript definitions and is designed for use with fluent-orm. It has a low release cadence.
npm install fluent-pgNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Registers the PostgreSQL driver with fluent-orm and configures a connection using environment variables for the password.
Make sure fluent-orm is installed: npm install fluent-orm
Use require() instead of import.
Use process.env.DB_PASSWORD and hide config from version control.
Always call configurator.use(configure) before configurator.configure().
Run: npm install fluent-pg --save
Ensure const { configurator } = require('fluent-orm'); is present.No dependency data recorded yet.