porsager/postgres
Postgres.js - The Fastest full featured PostgreSQL client for Node.js, Deno, Bun and CloudFlare observed · 2026-08-28
Health v2 · maintenance only
73/100
- Activity 75
- Release rhythm 54
- Longevity 100
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: 148.0
- age_days: 2476
- days_rel: 150
- days_push: 150
- n_releases_24m: 5
Adoption not part of the score
8711 stars · 362 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Postgres.js is a fast, full-featured PostgreSQL client library for Node.js, Deno, Bun, and Cloudflare Workers. It uses ES6 tagged template strings for safe, ergonomic SQL queries with a simple surface API.
Use cases
- query postgres from nodejs
- run parameterized sql queries without injection
- connect to postgres from deno or bun
- use postgres in cloudflare workers
- manage postgres transactions in javascript
- subscribe to postgres realtime updates
- listen and notify with postgres
When to choose
- you want a fast, modern postgres driver with tagged-template query building
- you need edge or serverless runtime support like Cloudflare Workers
- you prefer a simple API over heavyweight ORMs
When to avoid
- you need a full ORM with migrations and model relations
- you use a database other than PostgreSQL or CockroachDB
- you need connection pooling across multiple processes with advanced features of pg
Facets
library · maturity stable
database-driver database databases backend web-development bun cloud postgresql sql tagged-template-strings esm typescript-support edge-runtime nodejs deno
2 sources
- readme: https://github.com/porsager/postgres · fetched 2026-08-28 · 24883816eaf4
- registry_npm: https://registry.npmjs.org/postgres · fetched 2026-08-29 · 2c1e8cebf9e9
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| porsager/postgres | main | 73 |
For agents
markdown · JSON · MCP: product_card(name="porsager/postgres")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem