@vercel/postgres 0.3.1
Connect to Vercel Postgres databases on the Edge
@vercel/postgres@0.3.1 was published on 2023-06-12. Its manifest declares 4 runtime dependencies and 0 peer requirements. Type declarations are bundled according to the package metadata. The declared Node.js requirement is >=14.6.
Deprecated: @vercel/postgres is deprecated. If you are setting up a new database, you can choose an alternate storage solution from the Vercel Marketplace. If you had an existing Vercel Postgres database, it should have been migrated to Neon as a native Vercel integration. You can find more details and the guide to migrate to Neon's SDKs here: https://neon.com/docs/guides/vercel-postgres-transition-guide
All @vercel/postgres versions · Permanent reference to 0.3.1 · Latest release
Package specifications
| Version | 0.3.1 |
|---|---|
| License declaration | Apache-2.0 |
| Published | 2023-06-12T08:48:17.295Z |
| Node.js requirement | >=14.6 |
| Type declarations | Bundled declarations |
| Runtime dependency count | 4 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 28.41 KiB |
| Published file count | 12 |
| Package type | module |
| ES module entry | ./dist/index.js |
| Default entry | ./dist/index.cjs |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 16 |
| Repository stars | 600 |
| Repository forks | 102 |
Install @vercel/postgres 0.3.1
npm install @vercel/postgres@0.3.1 pnpm add @vercel/postgres@0.3.1 yarn add @vercel/postgres@0.3.1
Runtime dependencies
- ws 8.13.0
- bufferutil 4.0.7
- utf-8-validate 6.0.3
- @neondatabase/serverless 0.4.11
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.
- @neondatabase/serverless@0.4.11 — direct
- @types/node@26.6.5 — indirect
- @types/pg@8.6.6 — indirect
- bufferutil@4.0.7 — direct
- node-gyp-build@4.8.4 — indirect
- pg-int8@1.0.1 — indirect
- pg-protocol@1.16.1 — indirect
- pg-types@2.2.0 — indirect
- 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
- utf-8-validate@6.0.3 — direct
- ws@8.13.0 — direct
- 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.
Evidence and freshness
- https://registry.npmjs.org/%40vercel%2Fpostgres/0.3.1 — retrieved 2026-10-29T13:07:41.954Z
- https://api.deps.dev/v3/projects/github.com%2Fvercel%2Fstorage — retrieved 2026-10-29T07:59:30.195Z
- https://api.deps.dev/v3/systems/npm/packages/%40vercel%2Fpostgres/versions/0.3.1:dependencies — retrieved 2026-10-29T13:07:42.535Z
- https://api.deps.dev/v3/systems/npm/packages/%40vercel%2Fpostgres/versions/0.3.1 — retrieved 2026-10-29T13:07:42.591Z