sql-buddy

JSON →
library 1.0.8 ·javascript
verified Jun 5, 2026

A tiny, zero-dependency SQL query builder for Node.js that tracks parameter order and safely handles parameterized queries. Version 1.0.8 is stable, with infrequent releases. It supports PostgreSQL-style $1 placeholders by default and can be configured for other dialects (e.g., @ for MSSQL). Differentiators: minimalistic API, template literal integration, and automatic comma-separated multi-append for arrays. Ships TypeScript definitions. Ideal for small projects needing a lightweight query builder without an ORM.