# planetscale/database-js

> Serverless MySQL driver for edge runtimes using the Fetch API

Navigation: [Data & Databases](category/data.txt) · [Index](../llms.txt)

## Facts

- GitHub: https://github.com/planetscale/database-js
- HTML: https://awesomeopensource.dev/project/planetscale-database-js
- Website: https://planetscale.com/docs/tutorials/planetscale-serverless-driver
- License: Apache-2.0
- Language: TypeScript
- stars: 1207
- Topics: database, edge-computing, mysql, serverless, vercel
- Activity score: 4.4/5 (Active)
- Last commit (any branch): 2026-10-30
- Last release: v2.0.0 2026-09-24

## Description

The driver connects JavaScript applications to PlanetScale Vitess/MySQL over HTTP, for serverless and edge platforms such as Cloudflare Workers and Vercel Edge Functions. It follows the Fetch API, accepts host, username and password or a single database URL, and offers a Client factory for fresh connections per request plus transaction helpers. It installs from npm as @planetscale/database; PlanetScale Postgres uses the Neon serverless driver instead.

## Maintenance activity

- Recency: 89% (weight 40%) — last commit: 14 days ago
- Commit volume: 82% (weight 25%)
- Releases: 83% (weight 25%) — last release: 50 days ago
- Bug fixes: 90% (weight 10%)
- Commits: 13 / 90d, 39 / 365d

## Similar projects

- [meilisearch/MeiliSearch](meilisearch-meilisearch.md): Lightning Fast, Ultra Relevant, and Typo-Tolerant Search Engine · Activity score 5.0/5 (Thriving)
- [dbeaver/dbeaver](dbeaver-dbeaver.md): Universal desktop database client for SQL and analytical engines. · Activity score 5.0/5 (Thriving)
- [dragonflydb/dragonfly](dragonflydb-dragonfly.md): In-memory data store compatible with Redis and Memcached APIs, built for multicore throughput · Activity score 5.0/5 (Thriving)
- [kestra-io/kestra](kestra-io-kestra.md): Event-driven orchestrator for data, AI and infrastructure workflows defined in declarative YAML · Activity score 5.0/5 (Thriving)
- [beekeeper-studio/beekeeper-studio](beekeeper-studio-beekeeper-studio.md): Cross-platform SQL editor and database manager for Postgres, MySQL and more. · Activity score 5.0/5 (Thriving)
- [questdb/questdb](questdb-questdb.md): Time-series database with a SQL engine for high-rate ingestion and real-time analytics · Activity score 5.0/5 (Thriving)
