mysql-dbhelper

JSON →
library 0.3.2 ·javascript maintenance
verified Jun 5, 2026

A thin wrapper around node-mysql (the mysql npm package) that provides a set of convenience methods for common database operations such as execute, executeScalar, executeFirstRow, executeNonQuery, insert, update, and exist. Version 0.3.2 is the latest release. The library automatically manages connection closing when methods prefixed with '$' are used, and auto-closes on errors. It is designed for use with CoffeeScript callbacks and does not support Promises or async/await. It was last updated in 2018 and is considered stable but in maintenance mode. Compared to modern libraries like knex or typeorm, it lacks query builders, ORM features, and TypeScript support.