Latest / Data & databases

Postgres.js

github.com · Package · Active

Full-featured PostgreSQL client for Node.js and Deno

Visit github.com ↗Share

Stars
8.8k
Forks
411
Open issues
2
Last commit
Releases
51
Found
4 years ago

GitHub figures as of . They are context, not a ranking.

Postgres.js is a PostgreSQL client library for Node.js and Deno that aims to be fast and full-featured. The repository is written in JavaScript. It suits developers who connect JavaScript and TypeScript applications to Postgres.

Repository description on GitHub: “Postgres.js - The Fastest full featured PostgreSQL client”

What it does

  • PostgreSQL client for Node.js, Bun, Deno and Cloudflare Workers
  • ES6 tagged template queries
  • Dynamic query support
  • ES module with no dependencies

Good for

  • Query Postgres from a Node.js app with tagged templates
  • Connect a Bun or Cloudflare Workers app to Postgres

Suits: Developers connecting JavaScript and TypeScript apps to Postgres.

Worth knowing: Upgrading from v3 changes how Dates are written to timestamp columns outside UTC

What you can try

Read the README on GitHub and install from source.

Install

npm install postgres

Confirmed against the package registry. Read the project’s own instructions before running anything.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw Postgres.js on , when porsager posted it to Show HN. The oldest published release on GitHub is v1.0.1, dated . Postgres.js had been shipping tagged releases for 811 days before it was found. 51 releases have been published in total; the latest is v3.4.10 ().

Day-7 and day-30 updates

Day 7 3 releases shipped

  • 3 releases in the first 7 days: v3.0.0 (25 Mar 2022), v3.0.1 (30 Mar 2022), v3.0.2 (31 Mar 2022)
  • Show HN discussion at check time: 257 points, 83 comments. API record

Checked , later than day 7 because tracking began after.

Day 30 8 releases shipped

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

Releases per month, last 24 months (9 in total, busiest month 4). Based on the most recent releases on record.
  1. Repository created on GitHub: porsager/postgres
  2. Release v1.0.1
  3. Found: porsager posted it to Show HN. Show HN
  4. Release v3.4.9
  5. Release v4.0.0
  6. Release v4.1.0
  7. Release v4.1.1
  8. Release v4.2.0
  9. Release v3.4.10
  10. Day-7 check recorded by Kip (details)
  11. Day-30 check recorded by Kip (details)

Showing the first and the 6 latest of 51 releases. All releases on GitHub

Quick answers

When was Postgres.js released?
Its first tagged release on GitHub is dated 3 Jan 2020. Kip found it on Show HN on 24 Mar 2022.
Is Postgres.js open source?
Its source is public on GitHub at porsager/postgres under the Unlicense licence.
What does Postgres.js run on?
Library.
Is Postgres.js free?
It is open source, so the code is free to read and run; check the licence for terms.
Is Postgres.js still maintained?
Yes. It had a commit or release in the last 90 days as of the latest check.

Provenance

SourceRecordLast checked
Show HNlisting
official API record
GitHub repositoryporsager/postgres
REST API record
GitHub Releasesrelease list
REST API record

Stable ID hn-30794332. Summary written by KipFound’s editor.

Share

Similar tools

More in Data & databases

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.