Squel
JSON →A flexible SQL query string builder for JavaScript and TypeScript, currently at version 6.0.7. It supports standard SQL queries (SELECT, UPDATE, INSERT, DELETE) and non-standard commands for MySQL, PostgreSQL, and Microsoft SQL Server. Features include fluent method-chaining, parameterized queries for safe value escaping, and first-class TypeScript support. Squel is suitable for production, works in Node.js and the browser, and ships as dual ESM + CommonJS with an IIFE bundle for CDN use. Major releases have broken changes: v5 removed the 'squel.flavours' namespace and v6 dropped Node <18. Alternatives include Knex for richer ORM features.