sqlx-ts
JSON →Sqlx-ts is a CLI tool and library for TypeScript and JavaScript that provides compile-time checked raw SQL queries with automatic TypeScript type generation. It supports PostgreSQL, MySQL, and SQLite via the `sql` tagged template literal, which validates SQL syntax and infers parameter/result types at build time without an ORM. Version 0.46.0 is the latest stable release, with release cadence on demand. Unlike runtime query builders like Kysely or ORMs like Prisma, sqlx-ts focuses on raw SQL safety and type generation, integrating with any database driver. It requires Node.js >=16 and ships TypeScript declarations.