sql-generate

JSON →
library 1.5.0 ·javascript
verified Jun 5, 2026

CLI tool and API that inspects a MySQL, PostgreSQL, or MSSQL database and generates JavaScript definitions for the node-sql library. The current stable version is 1.5.0. It is released sporadically, with no fixed cadence. Key differentiator: it automates the creation of sql.define() statements by connecting directly to your database and introspecting tables and columns, saving manual schema mapping. Note: since v1.0.0, you must install the actual database drivers (mysql, pg, mssql) separately.