sql-template-builder

JSON →
library 1.0.5 ·javascript
verified Jun 5, 2026

Complex SQL query builder library (v1.0.5) using ES6 tagged template literals. Enables building parameterized SQL queries with automatic placeholder substitution for PostgreSQL ($1, $2) and MySQL (?, ?). Ships as CommonJS with Node >=14 support. Key differentiator: supports nested template parts, raw values, custom join strings, and prepared statement naming. Lighter than knex but less feature-rich; focused on dynamic query composition for pg, mysql, mysql2, and sequelize.