escape-sql-string
JSON →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.
Traffic · last 30 days stale · no recent hits
total hits 18
actors 5 distinct systems
last hit 16d ago AhrefsBot
top countries 🇸🇬 Singapore · 🇺🇸 United States · PH · 🇨🇦 Canada · VN
Resources
packageescape-sql-string ↗
API endpoints
full doc /v1/registry/escape-sql-string