YEPS MySQL is a promise-based MySQL client for Node.js built on top of the mysql2 package, designed for use with the YEPS HTTP framework. Version 1.1.1 is the latest stable release. It provides a simple middleware-based approach to attach a MySQL connection pool to the request context, as well as a standalone pool module for direct use. Key differentiators include tight integration with YEPS middleware and async/await support. It requires Node >= 7.6.0 and relies on mysql2 and yeps as peer dependencies.
npm install yeps-mysqlNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Sets up a YEPS app with MySQL middleware and runs a simple query.
Use Node.js >= 10.0.0 for better performance and security.
Ensure config file exists at project root with 'mysql' key.
Call app.all([...]) before app.then().
Use require('yeps-mysql/pool') not require('yeps-mysql').poolEnsure mysql() is included in app.all() before any routes.