k8w-promise-mysql

JSON →
library 1.4.1 ·javascript
verified Jun 5, 2026

A simple native Promise wrapper for mysqljs/mysql (the popular MySQL client for Node.js). Version 1.4.1 is current; release cadence is irregular. It mirrors the mysqljs/mysql API exactly but returns Promises instead of using callbacks, enabling async/await usage. Key differentiators: lightweight (no dependencies beyond mysql), TypeScript types included, and supports pool and connection queries. It does not add any extra features over the original library, only converts callback patterns to promises.