Minimalistic MySQL pool-based CRUD helper for Node.js (v1.2.8). Wraps mysql connection pool and exposes global select/insert/update/delete functions. No documentation beyond the README; last updated in 2018. Not actively maintained. Simpler than knex/sequelize but lacks promise support, transactions, or migration tools.
npm install mysql-pool-crudNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initializes the module with a MySQL pool config, then uses global select and insert functions.
Migrate to mysql2/promise (npm install mysql2) and use prepared statements.
Wrap usage in a sandbox or avoid using multiple global-scope libraries.
Wrap functions in promises manually or switch to mysql2 which supports promises.
Always validate/sanitize inputs or migrate to a library with prepared statements.
npm install mysql-pool-crud
Call require('mysql-pool-crud')(config) at startup.Check mysqlConfig.user, password, and database existence.
No dependency data recorded yet.