SQL Bricks.js

JSON →
library 3.0.1 ·javascript
verified Jun 5, 2026

SQL Bricks.js is a transparent, schemaless library for building and composing SQL-92 statements (SELECT, INSERT, UPDATE, DELETE) in JavaScript. Current stable version is 3.0.1. It has no production dependencies, single file (~1,100 lines), over 200 tests, and ships TypeScript types. Compared to Knex (20k lines, schema-based) and Squel (1.7k lines), sql-bricks offers a minimal, zero-dependency alternative with dialect-specific extensions for PostgreSQL, MySQL, and SQLite via separate packages.