Express middleware that provides MySQL connection pooling, automatically attaching a connection to each request and releasing it on response end. Version 1.0.3 (latest, no recent updates). Simple wrapper around mysql module's pool; focuses on request-scoped connections. Alternatives: express-mysql-connection (individual connections), mysql2/promise pool (modern).
No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Package is CommonJS; use require or default import with ESM interop.
In CommonJS, require returns the function directly, not an object with default property.
getConnection is callback-based, not Promise-based. No promise version available.
Sets up Express middleware to attach MySQL pool connection to each request, queries a table, returns JSON.
Breaking-change detection hasn't run for this library yet.
CVE tracking and dependency tree are planned for a later release.