lurq

npm package

Home

escape-string-regexp

escape-string-regexp is a utility for escaping special characters in strings intended for use in regular expressions. It is useful when you need to safely include user input or dynamic strings in regex patterns. This package helps prevent unintended regex behavior by ensuring that special characters are treated as literals.

lurq health score
50/100
Confidence
unproven
Weekly downloads
361,042,967
Latest version
5.0.0
Last release
Apr 17, 2021
License
MIT

Should you depend on escape-string-regexp?

lurq's verdict: low

  • No known advisories

Check this from your coding agent

This page is a daily snapshot. lurq's verify tool checks escape-string-regexp at the exact version your agent is about to install, and compat checks it against the rest of your stack. One command connects Claude Code, Cursor, VS Code and other agents:

npx lurqrun

Free to start. Quickstart

Other utility packages lurq scores

Scored from public signals (npm registry, GitHub, deps.dev and advisory databases). Data as of Sep 1, 2026; this page refreshes every 24 hours. Source repository.