Hacker News·13 min read
Show HN: SQLBraid – Write SQL directly in TypeScript without a query-builder DSL
C
ClickinWrite SQL. Keep TypeScript. Skip the query-builder translation layer.
SQLBraid is a SQL-first data-access toolkit for TypeScript. It keeps ordinary SQL visible while adding safe value binds, readable dynamic SQL, explicit result contracts, Standard Schema result mapping, physical connection ownership, and driver-owned transports.
pnpm add sqlbraid On Node.js 22.18 or newer, save this as quickstart.mts and run node quickstart.mts . It creates and closes its own in-memory database:
✦
Get smarter about the news
Sign up free for a feed built around what you actually care about, Dive Deeper research on any story, and the full text of every article.
Create free accountAlready have an account? Sign in