Squel is a JavaScript library for fluent and safe SQL query string building, usable both in Node.js environments and in the browser. Works in Node.js and in the browser. Supports the standard SQL queries: SELECT, UPDATE, INSERT, and DELETE. Supports non-standard commands for popular DB engines such as MySQL. Supports parameterized queries for safe value escaping. It can be customized to build any query or command of your choosing.
...The library is commonly used in content management systems, blogging engines, and SEO-sensitive applications where readable and consistent slugs are required. It supports many languages and character sets, allowing international text to be transformed into a safe format. The implementation is straightforward and can be embedded easily into Node.js applications with minimal configuration. It’s designed for reliability and predictability so that the same input always produces the same slug, ensuring stable URLs over time.