qmetrics.net

node-postgres

Non-blocking PostgreSQL client for Node.js and related runtimes

DatabasesDesktop/CLI app
node-postgres screenshot

JavaScript PostgreSQL driver with pooling, prepared statements, streaming, and optional native libpq bindings for Node.js, Bun, Deno, and Cloudflare Workers.

Overview

node-postgres is a family of Node.js packages for talking to PostgreSQL from application code. The core pg module offers a non-blocking client with callbacks, promises, and async/await, plus optional native libpq bindings that share the same API as the pure JavaScript implementation.

Connection pooling, parameterized queries, named statements with plan caching, LISTEN/NOTIFY notifications, and COPY bulk import or export are supported. Related packages add cursors, query streams, connection-string parsing, and protocol-level building blocks within the same monorepo.

The client stays intentionally light on higher-level ORM-style abstractions while providing extensible JavaScript-to-PostgreSQL type coercion. Documentation covers pooling patterns, error handling, and compatibility across maintained Node LTS releases as well as Bun, Deno, and Cloudflare Workers.

PostgreSQL server versions from 8.x through current releases are supported, making the driver suitable as the low-level database layer in web backends and services that already run Node or compatible runtimes.

Key features

  • Pure JS and native libpq API
  • Connection pooling
  • Parameterized queries
  • Prepared statement caching
  • LISTEN/NOTIFY support
  • COPY import and export
  • Streaming query results
  • Extensible type parsing

Use cases

  • Backend services using PostgreSQL
  • Async database access in Node.js
  • Apps needing connection pools
  • Streaming large query results
  • Workers and edge runtimes with pg

Tags

Similar software

Supabase

Open-source Postgres platform with auth, APIs, and storage

Supabase bundles a dedicated Postgres database with authentication, auto-generated REST and GraphQL APIs, realtime, functions, file storage, and vector tooling.

★ 115.6k⟳ todayApache-2.0
Open Source Alternative to:FirebaseFirebase Realtime Database

Prometheus

Open-source metrics monitoring and time series database

Prometheus collects metrics from configured targets, evaluates rules, and can raise alerts. It stores time series data and exposes a query language called PromQL.

★ 67.9k⟳ yesterdayApache-2.0
Open Source Alternative to:PRTG Network Monitor

NocoDB

Self-hostable no-code database with spreadsheet interface

NocoDB turns Postgres, MySQL, SQLite, or a hosted database into editable tables with grid, kanban, form, gallery, and calendar views. Teams collaborate with roles, sharing, REST APIs, and workflow integrations.

★ 65.6k⟳ todaySource-available
DatabasesSelf-hostable

etcd

Raft-backed distributed consistent key-value store

etcd stores small critical configuration and coordination data for clusters. It exposes a gRPC API, tolerates failures via Raft, and ships with the etcdctl command-line client.

★ 52.7k⟳ 3 days agoApache-2.0
DatabasesSelf-hostable

DBeaver

Universal multi-platform database tool and SQL client

Free desktop client for developers and DBAs with SQL editing, data editing, ER diagrams, exports, and support for hundreds of JDBC or ODBC databases.

★ 52.6k⟳ todayApache-2.0
DatabasesDesktop/CLI app
Open Source Alternative to:DataGripNavicat+2

ClickHouse

Column-oriented real-time analytics database management system

ClickHouse is a column-oriented database for generating analytical reports in real time using SQL on large datasets.

★ 51.2k⟳ todayApache-2.0
Open Source Alternative to:Amazon Redshift