Introducing the PlanetScale serverless driver for JavaScript
Aug 18, 2022Taylor Barnett, Matt Robenolt

Summary
Introduces a new Fetch API-compatible JavaScript driver for PlanetScale, enabling direct HTTP connections to databases from serverless and edge environments. This is backed by new HTTP API and global routing infrastructure that provides benefits like modern TLS, connection multiplexing, protocol compression, and reduced latency through edge routing. The post provides installation instructions, connection configuration, and example usage for executing SQL commands and parameterized queries.