{"versions":{"5.0.0":{"name":"@d-fischer/escape-string-regexp","version":"5.0.0","description":"Escape RegExp special characters","license":"MIT","repository":{"type":"git","url":"git+https://github.com/d-fischer/escape-string-regexp.git"},"author":{"name":"Daniel Fischer","email":"daniel@d-fischer.dev"},"engines":{"node":">=10"},"scripts":{"test":"xo && ava && tsd"},"keywords":["escape","regex","regexp","regular","expression","string","special","characters"],"devDependencies":{"ava":"^1.4.1","tsd":"^0.11.0","xo":"^0.28.3"},"gitHead":"9e49b61522867fdb09908d560b6ef1a8aa0b2b8e","bugs":{"url":"https://github.com/d-fischer/escape-string-regexp/issues"},"homepage":"https://github.com/d-fischer/escape-string-regexp#readme","_id":"@d-fischer/escape-string-regexp@5.0.0","_nodeVersion":"14.0.0","_npmVersion":"6.14.4","dist":{"shasum":"40b1d52529c5674caf510213efc9c982877d01c4","size":2023,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@d-fischer/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz","integrity":"sha512-7eoxnxcto5eVPW5h1T+ePnVFukmI9f/ZR9nlBLh1t3kyzJDUNor2C+YW9H/Terw3YnbZSDgDYrpCJCHtOtAQHw=="},"maintainers":[{"name":"anonymous","email":"daniel@d-fischer.dev"}],"_npmUser":{"name":"anonymous","email":"daniel@d-fischer.dev"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/escape-string-regexp_5.0.0_1588210060372_0.6575758807528507"},"_hasShrinkwrap":false,"publish_time":1588210060484,"_cnpm_publish_time":1588210060484,"_cnpmcore_publish_time":"2021-12-17T00:33:18.354Z","contributors":[]}},"dist-tags":{"latest":"5.0.0"},"name":"@d-fischer/escape-string-regexp","time":{"created":"2022-01-27T09:06:49.479Z","modified":"2023-12-30T18:54:14.009Z","5.0.0":"2020-04-30T01:27:40.484Z"},"readme":"# escape-string-regexp [![Build Status](https://travis-ci.org/sindresorhus/escape-string-regexp.svg?branch=master)](https://travis-ci.org/sindresorhus/escape-string-regexp)\n\n> Escape RegExp special characters\n\n## Install\n\n```\n$ npm install escape-string-regexp\n```\n\n## Usage\n\n```js\nconst escapeStringRegexp = require('escape-string-regexp');\n\nconst escapedString = escapeStringRegexp('How much $ for a ?????');\n//=> 'How much \\\\$ for a ????\\\\?'\n\nnew RegExp(escapedString);\n```\n\nYou can also use this to escape a string that is inserted into the middle of a regex, for example, into a character class.\n\n---\n\n<div align=\"center\">\n\t<b>\n\t\t<a href=\"https://tidelift.com/subscription/pkg/npm-escape-string-regexp?utm_source=npm-escape-string-regexp&utm_medium=referral&utm_campaign=readme\">Get professional support for this package with a Tidelift subscription</a>\n\t</b>\n\t<br>\n\t<sub>\n\t\tTidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.\n\t</sub>\n</div>","users":{}}