A lightweight Node.js library for creating and manipulating MySQL tables by inheriting a parent DbTable class. Version 0.1.7, released with no clear cadence. It wraps mysql-dbc for connection management and provides a simple ORM-like interface with field formatting and CRUD operations. Differentiates from heavier ORMs like Sequelize or TypeORM by focusing on table-level abstraction with minimal dependency.
npm install mysql-dbc-tableNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to initialize a MySQL connection, create a table, define a DbTable subclass, and perform a find query.
Use require() or transpile.
Wrap calls in a Promise or use a wrapper library.
Handle connection lifecycle manually.
Change to const { initDbc } = require('mysql-dbc-table')Implement static fields() returning an object with field definitions.