Preparing for system design interviews?  Try bugzed.com →

escape-sql-string

JSON →
library 1.2.2 ·javascript
verified Jun 5, 2026

A minimal SQL string escaping library to prevent SQL injection attacks. Current stable version is 1.2.2, with infrequent releases and no breaking changes expected. It provides a single function to escape single quotes and optionally backslashes, supporting both standard SQL (backslash not supported) and engines that do support backslash escapes. Ships TypeScript types. Key differentiator: simplicity and zero dependencies.

total hits 18
actors 5 distinct systems
last hit 16d ago AhrefsBot
GPTBot
3
ByteDance
3
Amazonbot
2
Search engines
2
Humans
7

top countries 🇸🇬 Singapore · 🇺🇸 United States · PH · 🇨🇦 Canada · VN