pgpass
npmv1.0.6Module for reading .pgpass
Overview
pgpass is an npm package that module for reading .pgpass. It is extremely widely used, with about 32.7M downloads per week and 1 known dependents in the graph. The latest version is 1.0.6, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need module for reading .pgpass and value a battle-tested, widely-adopted solution.
When not to use it
Consider an alternative if you need to have first-class TypeScript types out of the box, or if a more actively-maintained option better fits your npm stack.
Pros
- Large, well-established user base (32.7M weekly downloads).
- Clear open-source license (MIT).
Cons
- No bundled TypeScript types (may require a separate @types package).
Auto-generated from collected registry metadata. No external claims are inferred.
Relationship graph
Dependencies (left) and dependents (right) of pgpass.
Dependencies
Dev (9)
Used by
Popular packages that depend on pgpass.
Alternatives to pgpass
PostgreSQL client - pure javascript & libpq with the same API
Drizzle ORM package for SQL databases
Fastest full featured PostgreSQL client for Node.js
Connection pool for node-postgres
AWS RDS SSL certificates bundles.
Type safe SQL query builder
A batteries-included SQL query & schema builder for PostgresSQL, MySQL, CockroachDB, MSSQL and SQLite3
A slightly nicer interface to Postgres over node-libpq
Functions for dealing with a PostgreSQL connection string
sql named placeholders to unnamed compiler
Low-level native bindings to PostgreSQL libpq
PGlite is a WASM Postgres build packaged into a TypeScript client library that enables you to run Postgres in the browser, Node.js and Bun, with no need to install any other dependencies. It is only 3.7mb gzipped.
Frequently installed together
A socket implementation that can run on Cloudflare Workers using native TCP connections.
Next generation testing framework powered by Vite
The postgres client/server binary protocol, implemented in TypeScript
Functions for dealing with a PostgreSQL connection string
Connection pool for node-postgres
TypeScript typings for Cloudflare Workers
A slightly nicer interface to Postgres over node-libpq
Version history
| Version | Published | License |
|---|---|---|
| 1.0.6latest | 29 days ago | MIT |
| 1.0.5 | 4 years ago | MIT |
| 1.0.4 | 5 years ago | MIT |
| 1.0.3 | 5 years ago | MIT |
| 1.0.2 | 9 years ago | MIT |
| 1.0.1 | 10 years ago | MIT |
| 1.0.0 | 10 years ago | MIT |
| 0.0.6 | 10 years ago | MIT |
| 0.0.5 | 10 years ago | BSD-2-Clause |
| 0.0.3 | 12 years ago | BSD-2-Clause |
| 0.0.2 | 12 years ago | BSD-2-Clause |
| 0.0.1 | 12 years ago | BSD-2-Clause |
Maintainers
Frequently asked questions
How do I install pgpass?
Run `npm install pgpass` to add pgpass to your npm project.
What license is pgpass released under?
pgpass is distributed under the MIT license.
How popular is pgpass?
pgpass has approximately 32,682,210 downloads per week and 1 known dependent packages.