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. Uses method chaining for ease of use.

Features

  • Supports building SELECT, INSERT, UPDATE, and DELETE queries via chaining
  • Includes support for non-standard SQL dialects like MySQL
  • Enables parameterized queries to help prevent injection
  • Lightweight (~7 KB minified and gzipped)
  • Works seamlessly in both Node.js and browser environments
  • Flexible API allowing custom query construction

Project Samples

Project Activity

See All Activity >

Categories

SQL Clients

License

MIT License

Follow Squel

Squel Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Squel!

Additional Project Details

Programming Language

CoffeeScript

Related Categories

CoffeeScript SQL Clients

Registered

2025-08-21