mysql-promisify-pool

JSON →
library 2.1.0 ·javascript
verified Jun 5, 2026

A lightweight wrapper around the mysql npm package that provides Promise-based async/await support for MySQL connection pools. Version 2.1.0 is the current stable release, ships TypeScript definitions, and uses environment variables for configuration via DB_HOST, DB_USER, DB_PW, and DB_NAME. It leverages the mysql.Pool.getConnection method to reuse existing connections. Compared to alternatives like mysql2/promise, this package is a simple promisification layer without advanced features like prepared statements or query streaming.