{"name":"string-escape-regex","repository":{"type":"git","url":"git+https://github.com/fabiospampinato/string-escape-regex.git"},"description":"A tiny function for escaping a string to be used as the source in a regex.","license":"MIT","version":"1.0.1","type":"module","main":"dist/index.js","exports":"./dist/index.js","types":"./dist/index.d.ts","scripts":{"clean":"tsex clean","compile":"tsex compile","compile:watch":"tsex compile --watch","test":"tsex test","test:watch":"tsex test --watch","prepublishOnly":"tsex prepare"},"keywords":["string","escape","regex","regexp"],"devDependencies":{"fava":"^0.3.4","tsex":"^4.0.2","typescript":"^5.7.3"},"_id":"string-escape-regex@1.0.1","gitHead":"459ce5f990f40381bbb718e96f8ea94cb9826d3d","bugs":{"url":"https://github.com/fabiospampinato/string-escape-regex/issues"},"homepage":"https://github.com/fabiospampinato/string-escape-regex#readme","_nodeVersion":"18.19.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-cdSXOHSJ32K/T2dbj9t7rJwonujaOkaINpa1zsXT+PNFIv1zuPjtr0tXanCvUhN2bIu2IB0z/C7ksl+Qsy44nA==","shasum":"0ff3e4a267a820c0c740ef8bda01127f3f4a76d0","tarball":"http://registry-npm.ywwl.com/string-escape-regex/download/string-escape-regex-1.0.1.tgz","fileCount":5,"unpackedSize":2436,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDbdArAoXa0RPi5BQdGelT/Qpg9RP5QbMpZDn3h8HaBPAiAK0DqhybRXEhWeoT35/knzObMhr/ZRl2Fhj7KFpaTSow=="}],"size":1482,"noattachment":false,"key":"/string-escape-regex/-/string-escape-regex-1.0.1.tgz"},"_npmUser":{"name":"fabiospampinato","email":"spampinabio@gmail.com"},"directories":{},"maintainers":[{"name":"fabiospampinato","email":"spampinabio@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/string-escape-regex_1.0.1_1737324674004_0.6219255740736704"},"_hasShrinkwrap":false,"readme":"# String Escape Regex\n\nA tiny function for escaping a string to be used as the source in a regex.\n\n## Install\n\n```sh\nnpm install string-escape-regex\n```\n\n## Usage\n\n```ts\nimport escape from 'string-escape-regex';\n\n// Let's escape a string to be used in a regex\n\nescape ( 'foo()' ); // => 'foo\\\\(\\\\)'\n```\n\n## License\n\nMIT © Fabio Spampinato\n","publish_time":1737324674183,"_cnpm_publish_time":1737324674183,"dist-tags":{"latest":"1.0.1"}}