@types/pg 8.21.0
TypeScript definitions for pg
@types/pg@8.21.0 was published on 2026-08-07. Its manifest declares 3 runtime dependencies and 0 peer requirements. Type declarations are bundled according to the package metadata. No Node.js engine requirement is declared in this manifest.
All @types/pg versions · Permanent reference to 8.21.0 · Latest release
Package specifications
| Version | 8.21.0 |
|---|---|
| License declaration | MIT |
| Published | 2026-08-07T19:23:34.291Z |
| Node.js requirement | Not declared |
| Type declarations | Bundled declarations |
| Runtime dependency count | 3 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 19.17 KiB |
| Published file count | 9 |
| Package type | Not declared |
| ES module entry | Not declared |
| Default entry | Not declared |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 10 |
| Repository stars | 51460 |
| Repository forks | 30335 |
Install @types/pg 8.21.0
npm install @types/pg@8.21.0 pnpm add @types/pg@8.21.0 yarn add @types/pg@8.21.0
Runtime dependencies
- pg-types ^2.2.0
- @types/node *
- pg-protocol *
Peer requirements
- None declared
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- @types/node@26.6.5 — direct
- pg-int8@1.0.1 — indirect
- pg-protocol@1.16.1 — direct
- pg-types@2.2.0 — direct
- postgres-array@2.0.0 — indirect
- postgres-bytea@1.0.1 — indirect
- postgres-date@1.0.7 — indirect
- postgres-interval@1.2.0 — indirect
- undici-types@8.9.0 — indirect
- xtend@4.0.2 — indirect
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
OpenSSF repository checks
Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.
| Maintained | 10/10 — 30 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10 |
|---|---|
| Code-Review | 8/10 — Found 25/28 approved changesets -- score normalized to 8 |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| License | 9/10 — license file detected |
| Security-Policy | 10/10 — security policy file detected |
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| Token-Permissions | 0/10 — detected GitHub workflow tokens with excessive permissions |
| SAST | 0/10 — SAST tool is not run on all commits -- score normalized to 0 |
| Pinned-Dependencies | 8/10 — dependency not pinned by hash detected -- score normalized to 8 |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| Fuzzing | 0/10 — project is not fuzzed |
Evidence and freshness
- https://registry.npmjs.org/%40types%2Fpg/8.21.0 — retrieved 2026-10-29T12:35:38.694Z
- https://api.deps.dev/v3/projects/github.com%2FDefinitelyTyped%2FDefinitelyTyped — retrieved 2026-10-29T11:55:29.082Z
- https://api.deps.dev/v3/systems/npm/packages/%40types%2Fpg/versions/8.21.0 — retrieved 2026-10-29T12:35:39.252Z
- https://api.deps.dev/v3/systems/npm/packages/%40types%2Fpg/versions/8.21.0:dependencies — retrieved 2026-10-29T12:35:39.280Z