Snack Query Builder
JSON →Snack Query Builder is a lightweight, type-safe SQL query builder for TypeScript/JavaScript that generates SQL strings programmatically without being an ORM. It provides a fluent API for building SELECT queries with projection, WHERE conditions (including comparisons like greaterOrEqualThan), GROUP BY, HAVING, subqueries, and TOP clauses. Version 1.0.4 is the latest stable release, published on npm with TypeScript type definitions included. Unlike ORMs such as TypeORM or Sequelize, it does not abstract away SQL or manage database connections; it simply constructs raw SQL strings. Ideal for developers who want full control over their SQL while benefiting from TypeScript's type checking.
Resources
packagesnack-query-builder ↗
API endpoints
full doc /v1/registry/snack-query-builder