npm package
Home@types/pg
The @types/pg package provides TypeScript definitions for the pg library, which is used for interfacing with PostgreSQL databases in Node. js applications. It enhances type safety and developer experience when using pg in TypeScript projects.
- lurq health score
- 60/100
- Confidence
- unproven
- Weekly downloads
- 54,810,075
- Latest version
- 8.23.1
- Last release
- Sep 4, 2019
- License
- MIT
Should you depend on @types/pg?
lurq's verdict: low
- No known advisories
Check this from your coding agent
This page is a daily snapshot. lurq's verify tool checks @types/pg at the exact version your agent is about to install, and compat checks it against the rest of your stack. One command connects Claude Code, Cursor, VS Code and other agents:
npx lurqrun
Free to start. Quickstart
Upgrading @types/pg
What each major version removed, renamed or re-signatured, from lurq's extraction of the published packages.
- 7.14.11 → 8.23.1being extracted
- 6.1.52 → 7.14.11being extracted
- 0.0.32 → 6.1.52being extracted
Other database-client packages lurq scores
- @google-cloud/sql92/100 · proven
- @opentelemetry/instrumentation-mysql91/100 · proven
- @opentelemetry/instrumentation-pg91/100 · proven
- @opentelemetry/instrumentation-redis91/100 · proven
- @opentelemetry/instrumentation-ioredis90/100 · proven
Scored from public signals (npm registry, GitHub, deps.dev and advisory databases). Data as of Sep 7, 2026; this page refreshes every 168 hours. Source repository.