Escape strings for use as JavaScript string literals
🛡️ Faster SQL escape and format for JavaScript (Node.js, Bun, and Deno).
Solves a problem with util.format
The modern build of lodash’s internal `reEscape` as a module.
The modern build of lodash’s internal `reEscape` as a module.
A robust polyfill for the `CSS.escape` utility method as defined in CSSOM.
The lodash method `_.unescape` exported as a module.
Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes
A little utility for escaping globs before passing them to zeptomatch.
Escape and stringify an array of arguments to be executed on the shell
Match a Unicode property or property alias to its canonical property name per the algorithm used for RegExp Unicode property escapes in ECMAScript.
Match a Unicode property or property alias to its canonical property name per the algorithm used for RegExp Unicode property escapes in ECMAScript.
The internal Lo-Dash variable `reEscapedHtml` as a Node.js module generated by lodash-cli.
The internal Lo-Dash function `unescapeHtmlChar` as a Node.js module generated by lodash-cli.
The internal Lo-Dash function `escapeHtmlChar` as a Node.js module generated by lodash-cli.
The internal Lo-Dash variable `reUnescapedHtml` as a Node.js module generated by lodash-cli.
A tiny function for truncating a string which may containg ANSI escapes, with automatic terminal width detection.
A tiny function for escaping a string to be used as the source in a regex.
A little utility for removing escape sequences from a glob.