node-mysql-queries

JSON →
library 1.0.9 ·javascript
verified Jun 5, 2026

A lightweight helper library for building common MySQL queries in Node.js. Version 1.0.9 is the latest stable release, with infrequent updates. It wraps the mysqljs/mysql package and provides simple functions like selectAllSQL, selectWhereSQL, insertSQL, updateSQL, and deleteSQL to reduce boilerplate. Unlike ORMs like Sequelize or TypeORM, it offers a minimal, direct query builder without schema mapping or migrations. Requires mysql and dotenv as peer dependencies. Ships with TypeScript definitions.