express-myconnection

JSON →
library 1.0.4 ·javascript maintenance
verified Jun 5, 2026

Connect/Express middleware for MySQL connection lifecycle management. Version 1.0.4 (last released 2018). Provides three strategies: 'single' (singleton connection per app), 'pool' (connection pool, auto-released at response end), and 'request' (new connection per request, auto-closed). Uses node-mysql as the underlying driver. Differentiator: auto-closing/releasing connections for pool and request strategies, preventing connection leaks. No major updates since 2018; considered stable but not actively maintained.