Skip to content
JS
Package

pg-cloudflare

A socket implementation that can run on Cloudflare Workers using native TCP connections.

v1.4.0, 18 May 2026MITESM + CommonJSTypes: BundledDatabase clients and drivers
$ npm install pg-cloudflare

Key numbers

As of 25 Sept 2026
Weekly downloads
35m
+347% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
4 months ago
v1.4.0
GitHub stars
13.2k
1.4k forks
Open issues / PRs
451 / 80
Contributors
391
Commits, last 52 weeks
112

Downloads

Last week 2026-09-15 to 2026-09-21
020m40m60mSept 2025Mar 2026Sept 2026High 45.2m (25 Aug 2026)Low 6.8m (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

34,962,870 downloads last week, 170,528,347 in the last month. The 12-month change of +347% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
28 in total
Latest version
1.4.0, 18 May 20264 months ago
First published
15 May 2023
Last push to GitHub
24 Sept 20261 day before the snapshot
Repository archived
No
Open issues
451
Open pull requests
80
Commits, last 52 weeks
112
Dependents on npm
15

Major versions

  1. v1 first release 1.1.0, 15 May 2023

Recent releases

VersionPublished
1.4.018 May 2026
1.3.014 Jan 2026
1.2.727 Jun 2025
1.2.618 Jun 2025
1.2.523 Apr 2025
1.2.022 Apr 2025
1.1.126 Jun 2023
1.1.015 May 2023
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
23 kB
Dependencies (0)
None
npm install pg-cloudflare
  • jsDelivrhttps://cdn.jsdelivr.net/npm/pg-cloudflare@1.4.0/
  • unpkghttps://unpkg.com/pg-cloudflare@1.4.0/
  • esm.shhttps://esm.sh/pg-cloudflare@1.4.0
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.