A lightweight Node.js MySQL query builder wrapper around the `mysql` package, designed to simplify common database operations like select, insert, update, delete, and joins. Version 1.1.5 is the latest stable release, with no active development observed. It provides a chainable API for building SQL queries (select, where, orderBy, groupBy, join, etc.) and supports promise-based async/await. Key differentiators include automatic SQL injection protection via parameterized queries, multiple where clause formats (string, object, array), and a `create` method for multiple database instances. However, it lacks TypeScript support, connection pooling documentation, and may have maintenance concerns.
No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
CommonJS module; no default export in ESM.
config is a method on the root object, not a named export.
table is a method on the root object; destructuring works after require.
Shows how to configure eq-mysql with environment variables, then use the chainable builder to fetch active users.
Breaking-change detection hasn't run for this library yet.
CVE tracking and dependency tree are planned for a later release.