Ross ROSS = Recommend OSS · open-source software intelligence for agents

brianc/node-postgres

PostgreSQL client for node.js. observed · 2026-08-28

github.com/brianc/node-postgres · homepage · JavaScript · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

76/100

  • Activity 98
  • Release rhythm 35
  • Longevity 100

Flags: no_releases

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 5801
  • days_rel: n/a
  • days_push: 15
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

13198 stars · 1345 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

node-postgres (pg) is the de facto PostgreSQL client library for Node.js, also supporting bun, deno, and cloudflare workers. It provides a non-blocking pure JavaScript client with optional native libpq bindings, connection pooling, parameterized queries, streaming, cursors, and extensible data-type parsing.

Use cases

  • connect to postgres from node.js
  • run parameterized sql queries safely
  • pool database connections for a web app
  • stream large query results
  • listen for postgres notifications with LISTEN/NOTIFY
  • bulk import and export with COPY
  • run transactions from node
  • connect to postgres over ssl

When to choose

  • you need a mature, battle-tested PostgreSQL driver for Node.js or bun/deno
  • you want connection pooling, prepared statements, and rich type parsing out of the box
  • you need low-level control over queries and transactions without heavy ORM abstractions

When to avoid

  • you want a high-level ORM with migrations and model relations
  • you are connecting to a database other than PostgreSQL
  • you need dynamic identifiers/table names built in (use pg-format alongside)

Facets

library · maturity stable

database-driver database http-server databases backend web-development developer-tools bun cross-platform postgresql pg connection-pooling sql libpq prepared-statements ssl query-pipelining nodejs deno

10 sources

Member repositories

RepositoryRoleHealth v2
brianc/node-postgresmain76

For agents

markdown · JSON · MCP: product_card(name="brianc/node-postgres")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem