then-mysql

JSON →
library 1.1.1 ·javascript deprecated
verified Jun 5, 2026

A promise-based wrapper for the MySQL driver that provides connection pooling and a nicer API. Version 1.1.1 (latest) is stable but unmaintained since 2015. It converts callback-style mysql queries to promises using a custom thenable pattern, making it incompatible with modern async/await and ES6 Promises. It is a legacy alternative to mysql2 with promise support or knex.