Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

PlanetScale Database Driver

Fetch API-compatible driver for PlanetScale MySQL databases.

Databases, ORMs and clientsNPM

GitHubWebsite

1. License

License from npm.

github.com/planetscale/database-js

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What PlanetScale Database Driver does

Fetch API-compatible driver for PlanetScale MySQL databases.

PlanetScale Database Driver popularity

41 / 100
Gid Score, #3022 overall
849K
downloads a week, npm
1,206
GitHub stars
1
agent projects use it
PlanetScale Database Driver: downloads per weeknpm, @planetscale/database 848,510
PlanetScale Database Driver: GitHub starsplanetscale/database-js 1,206

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How PlanetScale Database Driver is used

  • PlanetScale Database Driver joined the catalog on its public numbers (848,510 downloads a week on npm and 1,206 GitHub stars), not on our project count: it is a dependency in 7 public GitHub projects of our scan, 1 of them set up for AI coding agents.
  • The most used alternative in our scan is pg (298 projects).
  • Projects that use it most often also use AWS SDK for JavaScript (S3) (100.0%), Vercel Postgres (100.0%), mysql2 (100.0%).

Often used with

In 100.0% of its projects
In 100.0% of its projects
In 100.0% of its projects
In 100.0% of its projects
In 100.0% of its projects
In 85.7% of its projects
In 85.7% of its projects
In 85.7% of its projects

More about PlanetScale Database Driver

Agent Skills for it
  • database-lookup: Queries documented public database APIs with explicit endpoints, filters, pagination, and provenance. Used when a scientific, regulatory, fi
  • database-security: Use for authorized database security assessment covering PostgreSQL/MySQL/MSSQL/Mongo/Redis exposure, authz, UDF/command paths, and misconfi
  • database-migration: Execute database migrations across ORMs and platforms with zero-downtime strategies, data transformation, and rollback procedures. Use when
  • database-optimizer: Optimizes database queries and improves performance across PostgreSQL and MySQL systems. Use when investigating slow queries, analyzing exec
  • database-optimizer: Use when investigating slow queries, analyzing execution plans, or optimizing database performance. Invoke for index design, query rewrites,
  • database-optimization: Query optimization, indexing strategies, and database performance tuning for PostgreSQL and MySQL

See all

More in Databases, ORMs and clients

Alternatives

PlanetScale Database Driver This page

Apache-2.0Gid 41849K/wk

pg

PostgreSQL client for Node.js with pure JavaScript and libpq API compatibility.

MITGid 81106M/wk

mysql2

Fast MySQL driver with native protocol implementation, prepared statements and SSL.

MITGid 6625.6M/wk

Compare PlanetScale Database Driver with another tool

Get started

Install it.

npm install @planetscale/database

No step-by-step start for PlanetScale Database Driver yet: we have not written its hand-checked card.