Works with
•JSR Score70%•It is unknown whether this package works with Browsers, Deno, Node.js, Cloudflare Workers, Bun




Published2 years ago (0.215.0)
Functions
f
escape(str: string): string
Escapes arbitrary text for interpolation into a regexp, such that it will match exactly that text and nothing else.