MySQL adaptor for sql-mapper, providing template-based MySQL database access. Current stable version is 1.2.1. Release cadence is infrequent; the package appears to be in maintenance mode. It offers a simple MySQL integration for the sql-mapper library, but lacks detailed documentation and active development.
npm install mysql-mapperNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to create a MySQL connection and use mysql-mapper to run a parameterized query.
Consider migrating to a more modern MySQL library like mysql2 with promise support.
npm install sql-mapper mysql
Wrap calls in Promise or use util.promisify.
npm install sql-mapper
Ensure correct import: import Mapper from 'mysql-mapper'