mm_mysql

JSON →
library 2.4.6 ·javascript
verified Jun 5, 2026

mm_mysql is a Node.js MySQL library that wraps the mysql2 driver with a clean async/await API, automatic type inference for table creation, built-in connection pooling, and transaction support. Current version is 2.4.6, released with a focus on ease of use. Key differentiators: auto-creates tables from JavaScript object definitions (infers INT, VARCHAR, TEXT, DATETIME, etc.), provides a high-level DB manager with CRUD methods (add, get, set, del), and supports both callback-style transactions and awaitable `beginTransaction`/`commit`/`rollback`. It uses mysql2 under the hood, supports connection pooling, health checks, and debugging mode. Requires Node >=12.0.0.