knight-sql

JSON →
library 2.2.2 ·javascript
verified Jun 5, 2026

A TypeScript data structure for building SQL queries programmatically. Current version 2.2.2, updated regularly. It concatenates strings and objects to produce SQL strings, supporting MySQL and PostgreSQL parameter styles. Differentiates from ORMs by offering a lightweight, composable query builder without database access. Ships TypeScript types.