pg-types
Query result type converters for node-postgres
pg-types@4.1.0 was published on 2025-07-30. Its manifest declares 7 runtime dependencies and 0 peer requirements. Type declarations are bundled according to the package metadata. The declared Node.js requirement is >=10.
All pg-types versions · Permanent reference to 4.1.0
Package specifications
| Version | 4.1.0 |
|---|---|
| License declaration | MIT |
| Published | 2025-07-30T15:37:01.820Z |
| Node.js requirement | >=10 |
| Type declarations | Bundled declarations |
| Runtime dependency count | 7 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 19.25 KiB |
| Published file count | 8 |
| Package type | Not declared |
| ES module entry | Not declared |
| Default entry | index.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 8 |
| Repository stars | 302 |
| Repository forks | 60 |
Install pg-types 4.1.0
npm install pg-types@4.1.0 pnpm add pg-types@4.1.0 yarn add pg-types@4.1.0
Runtime dependencies
- pg-int8 1.0.1
- pg-numeric 1.0.2
- postgres-array ~3.0.1
- postgres-bytea ~3.0.0
- postgres-date ~2.1.0
- postgres-interval ^3.0.0
- postgres-range ^1.1.1
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.
- obuf@1.1.2 — indirect
- pg-int8@1.0.1 — direct
- pg-numeric@1.0.2 — direct
- postgres-array@3.0.4 — direct
- postgres-bytea@3.0.0 — direct
- postgres-date@2.1.0 — direct
- postgres-interval@3.0.0 — direct
- postgres-range@1.1.4 — direct
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.
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
|---|---|
| Code-Review | 4/10 — Found 5/12 approved changesets -- score normalized to 4 |
| Maintained | 0/10 — 0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0 |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| Pinned-Dependencies | 0/10 — dependency not pinned by hash detected -- score normalized to 0 |
| Token-Permissions | 10/10 — GitHub workflow tokens follow principle of least privilege |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Fuzzing | 0/10 — project is not fuzzed |
| Security-Policy | 0/10 — security policy file not detected |
| License | 0/10 — license file not detected |
| Branch-Protection | 0/10 — branch protection not enabled on development/release branches |
| SAST | 0/10 — SAST tool is not run on all commits -- score normalized to 0 |
Evidence and freshness
- https://registry.npmjs.org/pg-types/4.1.0 — retrieved 2026-10-29T13:09:10.644Z
- https://api.deps.dev/v3/systems/npm/packages/pg-types/versions/4.1.0 — retrieved 2026-10-29T13:09:11.181Z
- https://api.deps.dev/v3/systems/npm/packages/pg-types/versions/4.1.0:dependencies — retrieved 2026-10-29T13:09:11.205Z
- https://api.deps.dev/v3/projects/github.com%2Fbrianc%2Fnode-pg-types — retrieved 2026-10-29T13:09:11.329Z