{"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":{"integrity":"sha512-S77F6/wOoqSab7LpM6rARN3iGCqpL00VY1nB88OKKmomvZVI4gc0VriF+6z/xA1oMWDsy3rDwwA/50T2jpaM4g==","shasum":"c7ea6af6a7a1fe2f3c52b9d540a7e4fb52c82d59","tarball":"http://registry-npm.ywwl.com/zeptomatch-escape/download/zeptomatch-escape-1.0.0.tgz","fileCount":9,"unpackedSize":4832,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICxPPNaDZhco3PNiknCAsbAr/k62sPG0iJjk1uuWlH5DAiEAyyDYaLAvTmzNsokkjtamV2u2/TYpHqXWnMF2sQal2Vc="}],"size":2197,"noattachment":false,"key":"/zeptomatch-escape/-/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,"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 --save zeptomatch-escape\n```\n\n## Usage\n\n```ts\nimport zeptomatch from 'zeptomatch';\nimport escape from 'zeptomatch-escape';\n\n// Escape 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","publish_time":1711564488771,"_cnpm_publish_time":1711564488771,"dist-tags":{"latest":"1.0.1"}}