pg-protocol
npmv1.15.0TypeScriptThe postgres client/server binary protocol, implemented in TypeScript
Overview
pg-protocol is an npm package that the postgres client/server binary protocol, implemented in TypeScript. It is extremely widely used, with about 46.4M downloads per week and 1 known dependents in the graph. The latest version is 1.15.0, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need the postgres client/server binary protocol, implemented in TypeScript and value a battle-tested, widely-adopted 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
- Large, well-established user base (46.4M weekly downloads).
- Ships TypeScript type definitions.
- Clear open-source license (MIT).
Cons
- No significant drawbacks detected from available metadata.
Auto-generated from collected registry metadata. No external claims are inferred.
Relationship graph
Dependencies (left) and dependents (right) of pg-protocol.
Dependencies
Dev (8)
Used by
Popular packages that depend on pg-protocol.
Frequently installed together
A socket implementation that can run on Cloudflare Workers using native TCP connections.
Next generation testing framework powered by Vite
Functions for dealing with a PostgreSQL connection string
Connection pool for node-postgres
Module for reading .pgpass
TypeScript typings for Cloudflare Workers
A slightly nicer interface to Postgres over node-libpq
TypeScript definitions for node
Version history
| Version | Published | License |
|---|---|---|
| 1.15.0latest | 1 month ago | MIT |
| 1.14.0 | 2 months ago | MIT |
| 1.13.0 | 4 months ago | MIT |
| 1.12.0 | 4 months ago | MIT |
| 1.11.0 | 6 months ago | MIT |
| 1.10.3 | 1 year ago | MIT |
| 1.10.2 | 1 year ago | MIT |
| 1.10.1 | 1 year ago | MIT |
| 1.10.0 | 1 year ago | MIT |
| 1.9.5 | 1 year ago | MIT |
| 1.9.0 | 1 year ago | MIT |
| 1.8.1-alpha.0 | 1 year ago | MIT |
| 1.8.0 | 1 year ago | MIT |
| 1.7.1 | 1 year ago | MIT |
| 1.7.0 | 1 year ago | MIT |
| 1.6.1 | 2 years ago | MIT |
| 1.6.0 | 3 years ago | MIT |
| 1.5.0 | 5 years ago | MIT |
| 1.4.0 | 5 years ago | MIT |
| 1.3.0 | 5 years ago | MIT |
Maintainers
Frequently asked questions
How do I install pg-protocol?
Run `npm install pg-protocol` to add pg-protocol to your npm project.
What license is pg-protocol released under?
pg-protocol is distributed under the MIT license.
How popular is pg-protocol?
pg-protocol has approximately 46,386,790 downloads per week and 1 known dependent packages.