fastify-at-mysql

JSON →
library 0.4.0 ·javascript
verified Jun 5, 2026

Fastify MySQL plugin using @databases/mysql to prevent SQL injection attacks. Version 0.4.0 provides a wrapper that exposes mysql property on Fastify instance, supporting queries, transactions, and tasks with built-in SQL injection protection via tagged template literals. It offers result types: raw (default), iterator, and stream. The plugin is actively maintained, ships TypeScript types, and requires Fastify v4+ and @databases/mysql as peer dependencies.