Skip to content
JS
Package

ts-postgres

PostgreSQL client in TypeScript

v2.0.4, 19 Jun 2024MITESM + CommonJSTypes: BundledDatabase clients and driversTypeScript tooling
$ npm install ts-postgres

Key numbers

As of 25 Sept 2026
Weekly downloads
9.6k
+269% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
2 years ago
v2.0.4
GitHub stars
119
9 forks
Open issues / PRs
6 / 1
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
020k40k60kSept 2025Mar 2026Sept 2026High 41.1k (8 Sept 2026)Low 5.7k (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.

9,576 downloads last week, 114,901 in the last month. The 12-month change of +269% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
2.0.4, 19 Jun 20242 years ago
First published
-
Last push to GitHub
11 Dec 2024652 days before the snapshot
Repository archived
No
Open issues
6
Open pull requests
1
Commits, last 52 weeks
0
Dependents on npm
12

Major versions

-

Recent releases

-

Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=18.0
Runtimes
-
Unpacked size (npm)
590 kB
Dependencies (0)
None
Peer dependencies (1)
@types/node
npm install ts-postgres
  • jsDelivrhttps://cdn.jsdelivr.net/npm/ts-postgres@2.0.4/
  • unpkghttps://unpkg.com/ts-postgres@2.0.4/
  • esm.shhttps://esm.sh/ts-postgres@2.0.4
PackageWeekly downloadsGzipLast releaseModuleComparison
@fedify/postgres6.3k-3 days agoESM + CommonJS-
pg-logical-replication33.1k-3 months agoCommonJS-
slonik112k-3 days agoESM only-
@slonik/types55.2k-3 days agoESM only-
@slonik/sql-tag52.8k-3 days agoESM only-
@slonik/driver51.7k-3 days agoESM only-
@slonik/errors50.6k-3 days agoESM only-
@slonik/utilities50.1k-3 days agoESM only-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): downloads_week 9576 < 10000.