json-sql-builder2

JSON →
library 1.0.24 ·javascript
verified Jun 5, 2026

json-sql-builder2 v1.0.24 is a query builder that translates JSON data structures into SQL queries. It supports multiple SQL dialects including MySQL, MariaDB, PostgreSQL, SQLite, Oracle, and Microsoft SQL Server. Its key differentiator is the ability to define queries entirely in JSON, making dynamic query construction easier and more readable compared to traditional string concatenation. It automatically manages parameterized queries to prevent SQL injection. The library is actively maintained with frequent releases.