sql-statement
JSON →sql-statement is a tiny, tree-shakeable SQL statement builder (v1.1.0, last updated 2025) that safely escapes identifiers and values using placeholders (? for values, ?? for identifiers). Unlike ORMs or full query builders, it provides minimal abstraction: you write raw SQL fragments and use append, appendList, and appendPairs to compose queries. Ships TypeScript definitions and supports MySQL, PostgreSQL, and SQLite quoting styles via named exports (mysql, Pg, Sqlite). No database connectivity — generates final SQL strings for use with any driver. Release cadence is low; package is stable and lightweight (no dependencies).
Traffic · last 30 days stale · no recent hits
total hits 6
actors 1 distinct systems
last hit 22d ago human
top countries 🇸🇬 Singapore · 🇺🇸 United States
Resources
packagesql-statement ↗