{"_id":"zeptomatch-escape","_rev":"3757969","name":"zeptomatch-escape","description":"A little utility for escaping globs before passing them to zeptomatch.","dist-tags":{"latest":"1.0.1"},"maintainers":[{"name":"fabiospampinato","email":"spampinabio@gmail.com"}],"time":{"modified":"2025-03-18T07:12:41.000Z","created":"2024-03-27T18:34:48.771Z","1.0.1":"2025-03-05T22:01:58.481Z","1.0.0":"2024-03-27T18:34:48.771Z"},"users":{},"repository":{"type":"git","url":"git+https://github.com/fabiospampinato/zeptomatch-escape.git"},"versions":{"1.0.1":{"name":"zeptomatch-escape","repository":{"type":"git","url":"git+https://github.com/fabiospampinato/zeptomatch-escape.git"},"description":"A little utility for escaping globs before passing them to zeptomatch.","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":["zeptomatch","escape","glob"],"devDependencies":{"fava":"^0.3.4","tsex":"^4.0.2","typescript":"^5.8.2","zeptomatch":"^2.0.1"},"_id":"zeptomatch-escape@1.0.1","gitHead":"babe6ad0a254c94055163668edee802c16eb1637","bugs":{"url":"https://github.com/fabiospampinato/zeptomatch-escape/issues"},"homepage":"https://github.com/fabiospampinato/zeptomatch-escape#readme","_nodeVersion":"18.19.0","_npmVersion":"10.2.3","dist":{"shasum":"7f9ef85384eae5f4a4fe3cd402939b5d15d2f7e6","size":1597,"noattachment":false,"key":"/zeptomatch-escape/-/zeptomatch-escape-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/zeptomatch-escape/download/zeptomatch-escape-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/zeptomatch-escape_1.0.1_1741212118289_0.9318229911434517"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-03-05T22:01:58.481Z","publish_time":1741212118481,"_source_registry_name":"default","_cnpm_publish_time":1741212118481},"1.0.0":{"name":"zeptomatch-escape","repository":{"type":"git","url":"git+https://github.com/fabiospampinato/zeptomatch-escape.git"},"description":"A little utility for escaping globs before passing them to zeptomatch.","version":"1.0.0","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":["zeptomatch","escape","glob"],"devDependencies":{"fava":"^0.3.2","tsex":"^3.2.1","typescript":"^5.4.3","zeptomatch":"^1.2.2"},"_id":"zeptomatch-escape@1.0.0","gitHead":"f5237a055bb65097a31c026c5ee00f18808a552c","bugs":{"url":"https://github.com/fabiospampinato/zeptomatch-escape/issues"},"homepage":"https://github.com/fabiospampinato/zeptomatch-escape#readme","_nodeVersion":"18.19.0","_npmVersion":"10.2.3","dist":{"shasum":"c7ea6af6a7a1fe2f3c52b9d540a7e4fb52c82d59","size":2197,"noattachment":false,"key":"/zeptomatch-escape/-/zeptomatch-escape-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/zeptomatch-escape/download/zeptomatch-escape-1.0.0.tgz"},"_npmUser":{"name":"fabiospampinato","email":"spampinabio@gmail.com"},"directories":{},"maintainers":[{"name":"fabiospampinato","email":"spampinabio@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/zeptomatch-escape_1.0.0_1711564488604_0.42510010592856173"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-03-27T18:34:48.771Z","publish_time":1711564488771,"_source_registry_name":"default","_cnpm_publish_time":1711564488771}},"readme":"# Zeptomatch Escape\n\nA little utility for escaping globs before passing them to [`zeptomatch`](https://github.com/fabiospampinato/zeptomatch).\n\n## Install\n\n```sh\nnpm install zeptomatch-escape\n```\n\n## Usage\n\n```ts\nimport zeptomatch from 'zeptomatch';\nimport escape from 'zeptomatch-escape';\n\n// Escaping special characters from a string\n\nescape ( '*.js' ); // => '\\\\*.js'\n\n// Example usage\n\nzeptomatch ( '*.js', 'a.js' ) ); // => true\nzeptomatch ( '*.js', '*.js' ) ); // => true\n\nzeptomatch ( escape ( '*.js' ), 'a.js' ) ); // => false\nzeptomatch ( escape ( '*.js' ), '*.js' ) ); // => true\n```\n\n## License\n\nMIT © Fabio Spampinato\n","_attachments":{},"homepage":"https://github.com/fabiospampinato/zeptomatch-escape#readme","bugs":{"url":"https://github.com/fabiospampinato/zeptomatch-escape/issues"},"license":"MIT"}