CodeBrowser / npm / @planetscale/database
@planetscale/database@1.20.1
// A Fetch API-compatible PlanetScale database driver
$ npm install @planetscale/database
downloads/wk
215,244
license
Apache-2.0
version
1.20.1
published
Mar 25, 2026
What is @planetscale/database?
@planetscale/database is a lightweight driver for connecting to PlanetScale MySQL databases using the Fetch API standard. It's designed for serverless environments like Vercel and AWS Lambda, where traditional database connection pooling doesn't work well. Use this if you need a simple, HTTP-based way to query a PlanetScale database from edge functions, serverless functions, or modern JavaScript applications.
Keywords
#planetscale #database #mysql #vitess #serverless #vercel #lambda
Maintainers
planetscale-npm, iamjasonlong, dgraham, ayrton, mattrobenolt, ffink, nickvanw