Skip to content
JS
Package

@fastify/postgres

Fastify PostgreSQL connection plugin

v6.1.0, 8 Jul 2026MITCommonJSTypes: BundledDatabase clients and drivers
$ npm install @fastify/postgres

Key numbers

As of 25 Sept 2026
Weekly downloads
35.3k
- over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
2 months ago
v6.1.0
GitHub stars
216
38 forks
Open issues / PRs
1 / 0
Contributors
-
Commits, last 52 weeks
27

No weekly download data in the snapshot.

35,346 downloads last week, 143,296 in the last month. No 52-week series has been fetched yet.

Releases, last 12 months
-
Latest version
6.1.0, 8 Jul 20262 months ago
First published
-
Last push to GitHub
1 Sept 202623 days before the snapshot
Repository archived
No
Open issues
1
Open pull requests
0
Commits, last 52 weeks
27
Dependents on npm
12

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
68 kB
Dependencies (1)
fastify-plugin
Peer dependencies (1)
pg
npm install @fastify/postgres
  • jsDelivrhttps://cdn.jsdelivr.net/npm/@fastify/postgres@6.1.0/
  • unpkghttps://unpkg.com/@fastify/postgres@6.1.0/
  • esm.shhttps://esm.sh/@fastify/postgres@6.1.0
PackageWeekly downloadsGzipLast releaseModuleComparison
embedded-postgres372.2k-3 months agoESM only-
ts-postgres9.6k-2 years agoESM + CommonJS-
pgsql-ast-parser768.5k-7 months agoCommonJS-
@electric-sql/pglite12.5m-29 days agoESM + CommonJS-
@electric-sql/pglite-socket5m-29 days agoESM + CommonJS-
@electric-sql/pglite-pgvector320.8k-29 days agoESM + CommonJS-
@electric-sql/pglite-pgtap204.1k-29 days agoESM + CommonJS-
@electric-sql/pglite-age201.3k-29 days agoESM + CommonJS-
Sources: npm registry, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.