Elestia Open Source Ratings
7.1

Neon serverless driver

A strong pick. 8th of 10 database drivers.

Neon's own Postgres driver. It sends queries over HTTP or WebSockets, so it works in edge and serverless runtimes that cannot open TCP connections. If your database is on Neon and your code runs on Vercel, Workers or similar platforms, it is a solid, fast-growing pick. Elsewhere, node-postgres or Postgres.js is the better default, and on Cloudflare Workers with Hyperdrive both Cloudflare and Neon tell you to use those instead.

Best for: Teams on Neon Postgres that run queries from edge or serverless functions without TCP or Hyperdrive.

WebsiteGitHubnpm

Scores

Overall7.1

How strongly do we recommend it for a new project today?

Claude Opus 5.5: 6.5, likely 5.5 to 7.5

It is the right tool for Neon plus edge or serverless functions, and it is growing fast with vendor backing. It is still Neon-specific and lightly maintained, with open connection-handling bugs. node-postgres and Postgres.js serve most Postgres users better, including on Workers with Hyperdrive.

GPT-6.2 Sol: 7.6, likely 6.5 to 8.6

This is a strong choice for new Neon projects that need HTTP queries or interactive PostgreSQL transactions on runtimes with limited TCP access. For conventional PostgreSQL services with direct TCP, node-postgres and Postgres.js are broader choices, and Cloudflare recommends those drivers with Hyperdrive. Recent npm releases and ORM integrations support the recommendation, while sparse maintenance activity and limited evidence of direct adoption keep the range wide.

Needed by many3.9

How many developers need a tool for this job?

Claude Opus 5.5: 4.0, likely 3.0 to 5.0

Every Postgres user needs a driver, but this one is meant for Neon databases reached from serverless or edge code. Neon's large share of Vercel and AI-agent-built apps makes that a sizable niche, not a general need.

GPT-6.2 Sol: 3.7, likely 2.7 to 4.8

PostgreSQL is widely used, and the driver works across several JavaScript runtimes. Its main audience is the smaller group using Neon or running a compatible proxy, particularly where direct TCP is unavailable. The developer survey measures PostgreSQL use, so the size of that group is uncertain.

Helps a lot7.3

How well does it do the job for those who need it?

Claude Opus 5.5: 6.5, likely 5.5 to 7.5

It does its job well. HTTP gives low-latency one-shot queries, the tagged templates are injection-safe, and the WebSocket mode is node-postgres compatible with bundled types. Its limits are clear: interactive transactions need WebSockets, there are open bugs in TLS error handling and pool options, and on Cloudflare Hyperdrive with pg or Postgres.js is the recommended route.

GPT-6.2 Sol: 8.1, likely 7.0 to 9.0

Version 1.2.1 offers typed, parameterized HTTP queries, batch transactions, and familiar node-postgres APIs for WebSocket sessions. The documentation gives clear examples for both transports, including the request lifecycle that developers and coding agents need to handle. A reported Kysely type mismatch and performance that varies with runtime, transport, and pooling leave room below the best score.

Holds up over time6.5

Will it still be a good choice in two years?

Claude Opus 5.5: 6.0, likely 4.5 to 7.5

Neon, now owned by Databricks, pays for the work, and the driver is central to its product, so it is unlikely to be abandoned. But activity is thin: 11 commits and 3 npm versions in the last year, no GitHub releases, and 29 open PRs. Version 1.1 changed types and 1.0 broke the string-call API.

GPT-6.2 Sol: 6.9, likely 5.7 to 8.0

Neon has Databricks backing and shipped three npm versions in the past year, including a November pool fix. The repository had 11 commits in that period, well below node-postgres and Postgres.js, and recent updates dropped JSR publishing and removed the onConnect pool hook. Release access and maintainer response times are hard to verify, which widens the range.

Used widely5.2

How many use it, and is that growing?

Claude Opus 5.5: 6.0, likely 5.0 to 7.0

Downloads rose from 3.2M to 30.5M per 4 weeks, a ratio of about 9.6 against the median of 4.1, so it is gaining ground fast. Many of those installs likely come through templates, ORM adapters and agent-built apps rather than direct choices. Its 195 dependent repos are low, but that count is often undercounted for scoped packages.

  • npm downloadsLast4Weeks: 30.5M, up from 3.18M a year ago
  • dependents: 195 repos and 22 packages
  • github stars: 556 stars, far below pg and Postgres.js
  • bluesky posts: 0 posts

GPT-6.2 Sol: 4.4, likely 3.0 to 6.0

Four-week downloads rose from 3.18 million to 30.47 million, about 9.6× year over year against the catalog median of 4.1×. That shows it is gaining ground on the catalog baseline, although Postgres.js grew faster. The collector found just 195 dependent repositories and 22 packages, and installations through adapters or CI make the number of projects choosing the driver directly uncertain.

  • npm downloadsLast4Weeks and downloadsSame4WeeksYearAgo; medianDownloadsRatio: Downloads grew 9.6× against the 4.1× catalog baseline.
  • dependents; github stars; bluesky posts: 195 indexed repositories, 22 packages, 556 stars, and zero matched Bluesky posts.
  • peers downloadsLast4Weeks, downloadsSame4WeeksYearAgo and dependentRepos: Postgres.js grew about 29× and has 1,846 indexed dependent repositories. Node-postgres has 273,357.
  • prisma.io/docs/orm/v7/core-concepts/supported-databases/postgresql: Prisma’s Neon adapter provides an indirect route to installation.
Vouched for6.6

Who stands behind it being good?

Claude Opus 5.5: 6.0, likely 4.5 to 7.0

Drizzle and Prisma ship first-class adapters for it, and Cloudflare and PlanetScale document it. There are no independent benchmarks or survey data, and almost all performance claims come from Neon itself.

GPT-6.2 Sol: 7.2, likely 6.0 to 8.4

Drizzle builds on both transports, Prisma maintains a Neon adapter, and an independent benchmark compares the driver with the two main PostgreSQL peers. Cloudflare documents it as a supported option and recommends Hyperdrive for its Workers platform. Driver-specific satisfaction data and independent evidence of sustained production use are sparse.

Safe8.1

How safe is it to depend on?

Claude Opus 5.5: 8.0, likely 6.5 to 9.0

It has no runtime dependencies, an MIT licence, no known advisories, and a company that publishes the releases. There is no Scorecard data, and the 1.0.1 browser warning shows that credentials can leak when it is misused client-side, so the range stays moderate.

GPT-6.2 Sol: 8.1, likely 6.8 to 9.2

The MIT license is permissive, the package installs no runtime dependencies, and the collector found no OSV advisories. Bundled upstream driver code still needs maintenance, and the documented release process checks lint and tests before tagging. The missing Scorecard and limited visibility into npm publishing access and provenance widen the range.

Good

  • The HTTP neon() tagged-template API gives fast one-shot queries. Since 1.0, plain string calls are blocked to prevent SQL injection.
  • Its WebSocket Pool and Client follow node-postgres, so existing pg code and ORM adapters (Drizzle, Prisma, Kysely) move over with small changes.
  • It has no runtime dependencies, bundles its TypeScript types and uses the MIT licence.
  • It is the vendor-maintained default for Neon and is documented by Drizzle, Cloudflare and PlanetScale.

Bad

  • It is tied to Neon's HTTP/WebSocket proxy, so it is not a general Postgres driver.
  • Interactive transactions need the WebSocket Pool, and in edge runtimes that pool cannot outlive a single request.
  • There are open bugs in TLS error handling, pool options and types, and PRs pile up (29 open against 62 merged ever).
  • On Cloudflare Workers with Hyperdrive, both Cloudflare and Neon recommend pg or Postgres.js instead.

The numbers

npm downloads, 4 weeks
30M ×9.6 in a year
GitHub stars
556
Commits, 12 months
11
npm version
1.2.1 Nov 2026
Versions, 12 months
3
Advisories, 24 months
0 of 0 ever
OpenSSF Scorecard
None
Licence
MIT

Read on 21 November 2026 from GitHub (neondatabase/serverless), npm (@neondatabase/serverless), OSV and the OpenSSF Scorecard.

Database drivers

  1. 8.7node-postgres
  2. 8.2MongoDB driver
  3. 8.1better-sqlite3
  4. 8.0MySQL2
  5. 7.6PGlite
  6. 7.5Postgres.js
  7. 7.4DuckDB Node Neo
  8. 7.1Neon serverless driver
  9. 5.9libSQL client
  10. 1.9node-sqlite3
Compare all 10 on six scores