pg-cloudflare
npmv1.4.0TypeScriptA socket implementation that can run on Cloudflare Workers using native TCP connections.
Safe to adopt
Yes — pg-cloudflare scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 114 days ago. 8 releases in the last 2 years.
- ?Adoption: grade ?, Not reported by this registry.
No download data reported for this package yet.
- BMaintenance: grade B, Good.
Last published 114 days ago. 8 releases in the last 2 years.
- AWeight: grade A, Excellent.
Zero runtime dependencies, about 23 KB installed.
- BSupply chain: grade B, Good.
This package has a single maintainer (bus factor of 1).
- ALicense: grade A, Excellent.
MIT — permissive, with no copyleft found in the dependency tree.
Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.
Install cost
What you actually take on by adding pg-cloudflare to a project.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Unpacked size of this package plus its entire runtime tree.
Longest resolved dependency chain below this package.
Compatibility
- Node.js
- No constraint declared
- Module format
- ESM + CommonJS
- TypeScript
- Types included
- Install scripts
- None
Quick start
A usage example from the pg-cloudflare README.
export default {
...,
resolve: { conditionNames: [..., "workerd"] },
plugins: [
// ignore cloudflare:sockets imports
new webpack.IgnorePlugin({
resourceRegExp: /^cloudflare:sockets$/,
}),
],
}Dependencies
Declared by pg-cloudflare v1.4.0. Runtime dependencies are installed with the package; dev dependencies are not.
Dev (2)
Used by
Popular packages that depend on pg-cloudflare.
Relationship graph
Dependencies (left) and dependents (right) of pg-cloudflare.
Frequently installed together
Next generation testing framework powered by Vite
The postgres client/server binary protocol, implemented in TypeScript
Connection pool for node-postgres
Functions for dealing with a PostgreSQL connection string
Module for reading .pgpass
generator async control flow goodness
A slightly nicer interface to Postgres over node-libpq
TypeScript typings for Cloudflare Workers
Release history
8 releases in the last two years, typically about 42 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 1.4.0latest | 3 months ago | 23 KB | MIT |
| 1.3.0 | 7 months ago | 23 KB | MIT |
| 1.2.7 | 1 year ago | 23 KB | MIT |
| 1.2.6 | 1 year ago | 22 KB | MIT |
| 1.2.5 | 1 year ago | 21 KB | MIT |
| 1.2.0 | 1 year ago | 21 KB | MIT |
| 1.1.2-alpha.1 | 1 year ago | 21 KB | MIT |
| 1.1.2-alpha.0 | 1 year ago | 21 KB | MIT |
| 1.1.1 | 3 years ago | 19 KB | MIT |
| 1.1.0 | 3 years ago | 18 KB | MIT |
Overview
pg-cloudflare is an npm package that a socket implementation that can run on Cloudflare Workers using native TCP connections. It has 1 known dependents in the graph. The latest version is 1.4.0, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need a socket implementation that can run on Cloudflare Workers using native TCP connections and value a focused solution.
When not to use it
Consider an alternative if you need to or if a more actively-maintained option better fits your npm stack.
Pros
- Ships TypeScript type definitions.
- Clear open-source license (MIT).
- Lean dependency tree (2 direct dependencies).
Cons
- No significant drawbacks detected from available metadata.
Auto-generated from collected registry metadata. No external claims are inferred.
Maintainers
Frequently asked questions
Should I use pg-cloudflare?
Yes — pg-cloudflare scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 114 days ago. 8 releases in the last 2 years.
How do I install pg-cloudflare?
Run `npm install pg-cloudflare` to add pg-cloudflare to your npm project.
What license is pg-cloudflare released under?
pg-cloudflare is distributed under the MIT license.
How popular is pg-cloudflare?
npm does not publish download counts. Within PackageGraph's crawl, 1 known packages depend on pg-cloudflare.
Is pg-cloudflare still maintained?
The most recent release of pg-cloudflare (v1.4.0) was published 3 months ago.
Does pg-cloudflare run install scripts?
No. pg-cloudflare does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.