Postgres.js
github.com · Package · Active
Full-featured PostgreSQL client for Node.js and Deno
- Data & databases
- Package
- JavaScript
- Day-7 check
- Day-30 check
- postgres
- database client
- javascript
- postgresql
- database
- nodejs
- driver
- client
- deno
- cockroachdb
- 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 postgresConfirmed 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
- 8 releases in the first 30 days: v3.0.0 (25 Mar 2022), v3.0.1 (30 Mar 2022), v3.0.2 (31 Mar 2022), v3.0.3 (4 Apr 2022), v3.0.4 (5 Apr 2022), v3.0.5 (6 Apr 2022), v3.0.6 (19 Apr 2022), v3.1.0 (22 Apr 2022)
- Show HN discussion at check time: 257 points, 83 comments. API record
Checked , later than day 30 because tracking began after.
Release timeline every entry links to its source
- Repository created on GitHub: porsager/postgres
- Release v1.0.1
- Found: porsager posted it to Show HN. Show HN
- Release v3.4.9
- Release v4.0.0
- Release v4.1.0
- Release v4.1.1
- Release v4.2.0
- Release v3.4.10
- Day-7 check recorded by Kip (details)
- 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
| Source | Record | Last checked |
|---|---|---|
| Show HN | listing official API record | |
| GitHub repository | porsager/postgres REST API record | |
| GitHub Releases | release list REST API record |
Stable ID hn-30794332. Summary written by KipFound’s editor.
Share
Similar tools
Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.