{"versions":{"3.0.0":{"name":"escape-string-regexp","version":"3.0.0","description":"Escape RegExp special characters","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/escape-string-regexp.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"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":"d248d827a72f75d7bafbe58097b9a5971c560df7","bugs":{"url":"https://github.com/sindresorhus/escape-string-regexp/issues"},"homepage":"https://github.com/sindresorhus/escape-string-regexp#readme","_id":"escape-string-regexp@3.0.0","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","_npmUser":{"name":"anonymous","email":"sindresorhus@gmail.com"},"dist":{"shasum":"1dad9cc28aed682be0de197280f79911a5fccd61","size":2019,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/escape-string-regexp/-/escape-string-regexp-3.0.0.tgz"},"maintainers":[{"name":"anonymous","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/escape-string-regexp_3.0.0_1586276986717_0.39881831235287324"},"_hasShrinkwrap":false,"publish_time":1586276986974,"_cnpm_publish_time":1586276986974,"contributors":[]},"2.0.0":{"name":"escape-string-regexp","version":"2.0.0","description":"Escape RegExp special characters","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/escape-string-regexp.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"maintainers":[{"name":"anonymous","email":"sindresorhus@gmail.com"}],"engines":{"node":">=8"},"scripts":{"test":"xo && ava && tsd"},"keywords":["escape","regex","regexp","re","regular","expression","string","str","special","characters"],"devDependencies":{"ava":"^1.4.1","tsd":"^0.7.2","xo":"^0.24.0"},"gitHead":"21c557c7f14a112eebe196abd98d085f5fcfcf5e","bugs":{"url":"https://github.com/sindresorhus/escape-string-regexp/issues"},"homepage":"https://github.com/sindresorhus/escape-string-regexp#readme","_id":"escape-string-regexp@2.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.1","_npmUser":{"name":"anonymous","email":"sindresorhus@gmail.com"},"dist":{"shasum":"a30304e99daa32e23b2fd20f51babd07cffca344","size":1704,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/escape-string-regexp_2.0.0_1555487349375_0.5654575039056717"},"_hasShrinkwrap":false,"publish_time":1555487349559,"_cnpm_publish_time":1555487349559,"contributors":[]},"1.0.5":{"name":"escape-string-regexp","version":"1.0.5","description":"Escape RegExp special characters","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/escape-string-regexp"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"maintainers":[{"name":"anonymous","email":"sindresorhus@gmail.com"}],"engines":{"node":">=0.8.0"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["escape","regex","regexp","re","regular","expression","string","str","special","characters"],"devDependencies":{"ava":"*","xo":"*"},"gitHead":"db124a3e1aae9d692c4899e42a5c6c3e329eaa20","bugs":{"url":"https://github.com/sindresorhus/escape-string-regexp/issues"},"homepage":"https://github.com/sindresorhus/escape-string-regexp","_id":"escape-string-regexp@1.0.5","_shasum":"1b61c0562190a8dff6ae3bb2cf0200ca130b86d4","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.6","_npmUser":{"name":"anonymous","email":"jappelman@xebia.com"},"dist":{"shasum":"1b61c0562190a8dff6ae3bb2cf0200ca130b86d4","size":1578,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz"},"_npmOperationalInternal":{"host":"packages-9-west.internal.npmjs.com","tmp":"tmp/escape-string-regexp-1.0.5.tgz_1456059312074_0.7245344955008477"},"directories":{},"publish_time":1456059317074,"_cnpm_publish_time":1456059317074,"_hasShrinkwrap":false,"contributors":[]},"1.0.4":{"name":"escape-string-regexp","version":"1.0.4","description":"Escape RegExp special characters","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/escape-string-regexp"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"maintainers":[{"name":"anonymous","email":"sindresorhus@gmail.com"}],"engines":{"node":">=0.8.0"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["escape","regex","regexp","re","regular","expression","string","str","special","characters"],"devDependencies":{"ava":"*","xo":"*"},"gitHead":"e9ca6832a9506ca26402cb0e6dc95efcf35b0b97","bugs":{"url":"https://github.com/sindresorhus/escape-string-regexp/issues"},"homepage":"https://github.com/sindresorhus/escape-string-regexp","_id":"escape-string-regexp@1.0.4","_shasum":"b85e679b46f72d03fbbe8a3bf7259d535c21b62f","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"anonymous","email":"sindresorhus@gmail.com"},"dist":{"shasum":"b85e679b46f72d03fbbe8a3bf7259d535c21b62f","size":1583,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/escape-string-regexp/-/escape-string-regexp-1.0.4.tgz"},"directories":{},"publish_time":1450563362473,"_cnpm_publish_time":1450563362473,"_hasShrinkwrap":false,"contributors":[]},"1.0.3":{"name":"escape-string-regexp","version":"1.0.3","description":"Escape RegExp special characters","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/escape-string-regexp"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"maintainers":[{"name":"anonymous","email":"sindresorhus@gmail.com"}],"engines":{"node":">=0.8.0"},"scripts":{"test":"mocha"},"files":["index.js"],"keywords":["regex","regexp","re","regular","expression","escape","string","str","special","characters"],"devDependencies":{"mocha":"*"},"gitHead":"1e446e6b4449b5f1f8868cd31bf8fd25ee37fb4b","bugs":{"url":"https://github.com/sindresorhus/escape-string-regexp/issues"},"homepage":"https://github.com/sindresorhus/escape-string-regexp","_id":"escape-string-regexp@1.0.3","_shasum":"9e2d8b25bc2555c3336723750e03f099c2735bb5","_from":".","_npmVersion":"2.1.16","_nodeVersion":"0.10.35","_npmUser":{"name":"anonymous","email":"jappelman@xebia.com"},"dist":{"shasum":"9e2d8b25bc2555c3336723750e03f099c2735bb5","size":1573,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/escape-string-regexp/-/escape-string-regexp-1.0.3.tgz"},"directories":{},"publish_time":1424596930197,"_cnpm_publish_time":1424596930197,"_hasShrinkwrap":false,"contributors":[]},"1.0.2":{"name":"escape-string-regexp","version":"1.0.2","description":"Escape RegExp special characters","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/escape-string-regexp"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"engines":{"node":">=0.8.0"},"scripts":{"test":"mocha"},"files":["index.js"],"keywords":["regex","regexp","re","regular","expression","escape","string","str","special","characters"],"devDependencies":{"mocha":"*"},"gitHead":"0587ee0ee03ea3fcbfa3c15cf67b47f214e20987","bugs":{"url":"https://github.com/sindresorhus/escape-string-regexp/issues"},"homepage":"https://github.com/sindresorhus/escape-string-regexp","_id":"escape-string-regexp@1.0.2","_shasum":"4dbc2fe674e71949caf3fb2695ce7f2dc1d9a8d1","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"anonymous","email":"jappelman@xebia.com"},"maintainers":[{"name":"anonymous","email":"sindresorhus@gmail.com"}],"dist":{"shasum":"4dbc2fe674e71949caf3fb2695ce7f2dc1d9a8d1","size":843,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/escape-string-regexp/-/escape-string-regexp-1.0.2.tgz"},"directories":{},"publish_time":1410623457511,"_cnpm_publish_time":1410623457511,"_hasShrinkwrap":false,"contributors":[]},"1.0.1":{"name":"escape-string-regexp","version":"1.0.1","description":"Escape RegExp special characters","license":"MIT","repository":{"type":"git","url":"git://github.com/sindresorhus/escape-string-regexp"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"files":["index.js"],"keywords":["regex","regexp","re","regular","expression","escape","string","str","special","characters"],"devDependencies":{"mocha":"*"},"gitHead":"7aba3933a8492584a30cba5bf6c54f7530a9d1b0","bugs":{"url":"https://github.com/sindresorhus/escape-string-regexp/issues"},"homepage":"https://github.com/sindresorhus/escape-string-regexp","_id":"escape-string-regexp@1.0.1","_shasum":"78c76393afb84f102230d949a6125c7f3cf65904","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"anonymous","email":"jappelman@xebia.com"},"maintainers":[{"name":"anonymous","email":"sindresorhus@gmail.com"}],"dist":{"shasum":"78c76393afb84f102230d949a6125c7f3cf65904","size":843,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/escape-string-regexp/-/escape-string-regexp-1.0.1.tgz"},"directories":{},"publish_time":1405125298761,"_cnpm_publish_time":1405125298761,"_hasShrinkwrap":false,"contributors":[]},"1.0.0":{"name":"escape-string-regexp","version":"1.0.0","description":"Escape RegExp special characters","license":"MIT","repository":{"type":"git","url":"git://github.com/sindresorhus/escape-string-regexp"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"files":["index.js"],"keywords":["regex","regexp","re","regular","expression","escape","string","str","special","characters"],"devDependencies":{"mocha":"*"},"bugs":{"url":"https://github.com/sindresorhus/escape-string-regexp/issues"},"homepage":"https://github.com/sindresorhus/escape-string-regexp","_id":"escape-string-regexp@1.0.0","_shasum":"0ca42ef5f3d8499fbc239fa0409ea849857d74c4","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"anonymous","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"anonymous","email":"sindresorhus@gmail.com"}],"dist":{"shasum":"0ca42ef5f3d8499fbc239fa0409ea849857d74c4","size":819,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/escape-string-regexp/-/escape-string-regexp-1.0.0.tgz"},"directories":{},"publish_time":1403622383496,"_cnpm_publish_time":1403622383496,"_hasShrinkwrap":false,"contributors":[]},"4.0.0":{"name":"escape-string-regexp","version":"4.0.0","description":"Escape RegExp special characters","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/escape-string-regexp.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"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":"71083e89129bcf72a10656508de5442d3f97966d","bugs":{"url":"https://github.com/sindresorhus/escape-string-regexp/issues"},"homepage":"https://github.com/sindresorhus/escape-string-regexp#readme","_id":"escape-string-regexp@4.0.0","_nodeVersion":"10.20.1","_npmVersion":"6.14.4","_npmUser":{"name":"anonymous","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==","shasum":"14ba83a5d373e3d311e5afca29cf5bfad965bf34","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz","fileCount":5,"unpackedSize":3790,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeoURNCRA9TVsSAnZWagAARCoQAIDrgan6KgXDUu7sPzbz\n9oiZFBPzKrp+vRltzovOSs/js5mGWY2aXUf0H2a8flCfE2kpMboKUOOTcUJ3\nWVDsgIhSr8KM5MP2oM7uWXV9ZamRp+ksHjQbumBU2a8OxakiBLQv6o6eF3DB\nIzZXYD1xb7BoUpHzMOgClabNeXqxgRsOPp3xkb04Q8Y5GotUZKPwdLhnf+io\n2SpW5xUEVzQSQSCqzpzqjyGQcwAlesqqUWc/INud8/suDEIpHSeeOv+dhhmo\nwo5v7x/Nw3uvGmDycwJ/UoTXVh9GXmy3EtY9NyRmdtThRl3MqQ6xi3z9FQ0b\nicl744RN+cexmiiXuaVkMccklpMAbNMX62VpRNMhPUG99HpUe/aAbRqGidDr\n2GTW+4D1JtCZq2yqyH91CTN0gqMZQOEeS5jS0qH0HGedKLZFynQAjSyNWevu\nra4MwFwC4jLbT/iNHE8/PWImYL8dMxKzXs7roPETZPOQuQhab3eAbOylS2dH\n2MY0HdtX0nhLyoM6jdBgCmGKwSuzVqAPeAUoke7ft75ez2WAwcPLK4yaobKO\n/4FYnpTTs5BAH403TGhuyl9mAmk7VbrCiNLUf8d5uHzMifO7bmgeZ0185M02\nGoqJxnF04MCN7cJ4wvtfJh+eAyQJXrXikEcOhJrMFth+NkwhqlFx62cZbcrE\nycp7\r\n=uG6w\r\n-----END PGP SIGNATURE-----\r\n"},"maintainers":[{"name":"anonymous","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/escape-string-regexp_4.0.0_1587627085362_0.5996192452086115"},"_hasShrinkwrap":false,"contributors":[]},"5.0.0":{"name":"escape-string-regexp","version":"5.0.0","description":"Escape RegExp special characters","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/escape-string-regexp.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":">=12"},"scripts":{"test":"xo && ava && tsd"},"keywords":["escape","regex","regexp","regular","expression","string","special","characters"],"devDependencies":{"ava":"^3.15.0","tsd":"^0.14.0","xo":"^0.38.2"},"gitHead":"ba9a4473850cb367936417e97f1f2191b7cc67dd","bugs":{"url":"https://github.com/sindresorhus/escape-string-regexp/issues"},"homepage":"https://github.com/sindresorhus/escape-string-regexp#readme","_id":"escape-string-regexp@5.0.0","_nodeVersion":"12.22.1","_npmVersion":"6.14.10","_npmUser":{"name":"anonymous","email":"sindresorhus@gmail.com"},"dist":{"shasum":"4683126b500b61762f2dbebace1806e8be31b1c8","size":1964,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz"},"directories":{},"maintainers":[{"name":"anonymous","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/escape-string-regexp_5.0.0_1618674350223_0.2814730865531563"},"_hasShrinkwrap":false,"publish_time":1618674350334,"_cnpm_publish_time":1618674350334,"contributors":[]}},"dist-tags":{"latest":"5.0.0"},"name":"escape-string-regexp","time":{"modified":"2024-05-28T17:04:53.983Z","created":"2022-01-26T12:53:48.436Z","3.0.0":"2020-04-07T16:29:46.974Z","2.0.0":"2019-04-17T07:49:09.559Z","1.0.5":"2016-02-21T12:55:17.074Z","1.0.4":"2015-12-19T22:16:02.473Z","1.0.3":"2015-02-22T09:22:10.197Z","1.0.2":"2014-09-13T15:50:57.511Z","1.0.1":"2014-07-12T00:34:58.761Z","1.0.0":"2014-06-24T15:06:23.496Z","4.0.0":"2020-04-23T07:31:25.491Z","5.0.0":"2021-04-17T15:45:50.334Z"},"readme":"# 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\nimport escapeStringRegexp from '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":{}}