A Promise-based wrapper around the mysql driver for Node.js. Version 0.1.3, last published in 2017. Provides a simple API for MySQL operations including querying, inserts, updates, deletes, and transactions. Unlike raw mysql package, it returns Promises and manages connection pooling. Development is sporadic with no recent releases.
npm install nodejs-mysqlNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to create a database instance and execute a simple SELECT query with promises.
Use `const mysql = require('nodejs-mysql').default;`Migrate to mysql2 and use its built-in promise support: `import mysql from 'mysql2/promise';`
Ensure config is either a single object or a non-empty array of objects.
Use `const mysql = require('nodejs-mysql').default;`Run `npm install mysql` to install the mysql driver.