Skip to content
JS
Package

pg-types

Query result type converters for node-postgres

v4.1.0, 30 Jul 2025MITCommonJSTypes: BundledDatabase clients and drivers
$ npm install pg-types

Key numbers

As of 25 Sept 2026
Weekly downloads
44.4m
+202% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
7
Direct, from package.json
Last release
1 year ago
v4.1.0
GitHub stars
303
60 forks
Open issues / PRs
6 / 2
Contributors
38
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
020m40m60mSept 2025Mar 2026Sept 2026High 58.8m (25 Aug 2026)Low 12.2m (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.

44,427,003 downloads last week, 211,759,796 in the last month. The 12-month change of +202% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
025 in total
Latest version
4.1.0, 30 Jul 20251 year ago
First published
15 Mar 2014
Last push to GitHub
30 Jul 2025421 days before the snapshot
Repository archived
No
Open issues
6
Open pull requests
2
Commits, last 52 weeks
0
Dependents on npm
123

Major versions

  1. v4 first release 4.0.0, 31 Jan 2022
  2. v3 first release 3.0.0, 12 Nov 2019
  3. v2 first release 2.0.0, 8 Jan 2019
  4. v1 first release 1.0.0, 15 Mar 2014

Recent releases

VersionPublished
4.1.030 Jul 2025
4.0.222 Jan 2024
4.0.115 Feb 2023
4.0.031 Jan 2022
3.0.14 Aug 2020
3.0.012 Nov 2019
2.2.07 Aug 2019
2.1.05 Jul 2019
2.0.14 Apr 2019
2.0.08 Jan 2019
1.13.015 Nov 2017
1.12.121 Aug 2017
1.12.026 May 2017
1.11.022 Apr 2016
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=10
Runtimes
-
Unpacked size (npm)
19 kB
Dependencies (7)
pg-int8pg-numericpostgres-datepostgres-arraypostgres-byteapostgres-rangepostgres-interval
npm install pg-types
  • jsDelivrhttps://cdn.jsdelivr.net/npm/pg-types@4.1.0/
  • unpkghttps://unpkg.com/pg-types@4.1.0/
  • esm.shhttps://esm.sh/pg-types@4.1.0
PackageWeekly downloadsGzipLast releaseModuleComparison
pgpass34.9m-3 months agoCommonJS-
pg-promise502.2k-1 month agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.