{"_id":"matcher","_rev":"1655851","name":"matcher","description":"Simple wildcard matching","dist-tags":{"latest":"7.0.0"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"time":{"modified":"2026-10-30T19:05:22.000Z","created":"2016-02-05T07:07:31.574Z","7.0.0":"2026-09-26T21:23:21.808Z","6.1.0":"2026-09-25T19:11:20.406Z","6.0.0":"2025-09-15T19:45:12.142Z","5.0.0":"2021-10-03T09:29:44.079Z","4.0.0":"2021-02-28T10:59:06.276Z","3.0.0":"2020-04-26T16:12:45.930Z","2.1.0":"2019-11-19T05:55:46.578Z","2.0.0":"2019-04-22T07:18:36.241Z","1.1.1":"2018-05-25T03:26:35.128Z","1.1.0":"2018-02-11T08:11:47.911Z","1.0.0":"2017-05-16T16:22:24.715Z","0.1.2":"2016-03-02T15:07:39.686Z","0.1.1":"2016-02-05T08:11:31.898Z","0.1.0":"2016-02-05T07:07:31.574Z"},"users":{"edwardxyt":true,"rocket0191":true,"restuta":true,"flumpus-dev":true,"jrvldam":true},"author":{"url":"https://sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git+https://github.com/sindresorhus/matcher.git","type":"git"},"versions":{"7.0.0":{"_id":"matcher@7.0.0","bugs":{"url":"https://github.com/sindresorhus/matcher/issues"},"dist":{"shasum":"3cdf78863a530bab95e11d44903e830f6a55196c","tarball":"http://registry-npm.ywwl.com/matcher/download/matcher-7.0.0.tgz","fileCount":5,"integrity":"sha512-ygfIhMQiuhHCxssmtMDdKypUAXIiKn1JtVwdUD5Nb30t7wFFIyctviPvOraA/2d3vFApzLKFm2c64x/KwuxsgA==","signatures":[{"sig":"MEUCIQC44LtbCocaOjWX5H4wxOMKKje3ZetdFTth1899mu+oZQIgSfRKiUTI+o3YCo61dxyz7bi6a4arcsjoF1Jm2Zw0k8c=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCP1ymPi9nl4VFDRKLcJ09zG7jmVt8/RslqufTxdtSpYgIhAMqZytkyCEzQ/JnUfcw53/nw+dCOlT/RFZpeemqevoDs"}],"unpackedSize":17415,"size":5413,"noattachment":false,"key":"/matcher/-/matcher-7.0.0.tgz"},"name":"matcher","type":"module","types":"./index.d.ts","author":{"url":"https://sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"engines":{"node":">=22"},"exports":{"types":"./index.d.ts","default":"./index.js"},"funding":"https://github.com/sponsors/sindresorhus","gitHead":"1cc522ff404ba896cb57332d66a67634ded098a4","license":"MIT","scripts":{"test":"xo && node --test","bench":"_matcha bench.js"},"version":"7.0.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"homepage":"https://github.com/sindresorhus/matcher#readme","keywords":["matching","match","regex","regexp","regular","expression","wildcard","pattern","string","filter","glob","globber","globbing","minimatch"],"repository":{"url":"git+https://github.com/sindresorhus/matcher.git","type":"git"},"_npmVersion":"12.0.1","description":"Simple wildcard matching","directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"sideEffects":false,"_nodeVersion":"26.9.0","_hasShrinkwrap":false,"devDependencies":{"xo":"^5.0.1","matcha":"^0.7.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/matcher_7.0.0_1790457801705_0.4936698859009716"},"publish_time":1790457801808,"_cnpm_publish_time":1790457801808},"6.1.0":{"name":"matcher","version":"6.1.0","keywords":["matcher","matching","match","regex","regexp","regular","expression","wildcard","pattern","string","filter","glob","globber","globbing","minimatch"],"author":{"url":"https://sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"license":"MIT","_id":"matcher@6.1.0","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/matcher#readme","bugs":{"url":"https://github.com/sindresorhus/matcher/issues"},"dist":{"shasum":"4be63bd8ed3e7aaf6cc9589866d529bd766cfe15","tarball":"http://registry-npm.ywwl.com/matcher/download/matcher-6.1.0.tgz","fileCount":5,"integrity":"sha512-sIUMoFfOqpltCE/cimkSZ0wuBAh17C8+P6BMaBXe5biLopo4oUBDYYqJ9NPMrnmg2z9zdujscgBfA4wohhVqOQ==","signatures":[{"sig":"MEYCIQCibTaeojyi23V0pRNqdyjkrrhLYRABL4duIHmoA3LkEQIhANITqn5hm/ZE/eh/fo7+oGtpPzkJa+gE0/ZP0TPuCQeb","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQDBEJos9LEguCcDl7VoqYT4e7+/yhTHJwO9rCPIM3oDugIhAKhiva9QoPk76T7BOYORDzVqnhPDV9OTdBPsHROVBGp3","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":16000,"size":5099,"noattachment":false,"key":"/matcher/-/matcher-6.1.0.tgz"},"type":"module","types":"./index.d.ts","engines":{"node":">=20"},"exports":{"types":"./index.d.ts","default":"./index.js"},"funding":"https://github.com/sponsors/sindresorhus","gitHead":"eb170157fe6c03e26edbcc60b6cd9fad6bce992d","scripts":{"test":"xo && ava","bench":"matcha bench.js"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git+https://github.com/sindresorhus/matcher.git","type":"git"},"_npmVersion":"12.0.1","description":"Simple wildcard matching","directories":{},"sideEffects":false,"_nodeVersion":"26.9.0","_hasShrinkwrap":false,"devDependencies":{"xo":"^1.2.2","ava":"^6.4.1","matcha":"^0.7.0"},"_npmOperationalInternal":{"tmp":"tmp/matcher_6.1.0_1790363480317_0.624161502495642","host":"s3://npm-registry-packages-npm-production"},"publish_time":1790363480406,"_cnpm_publish_time":1790363480406},"6.0.0":{"name":"matcher","version":"6.0.0","description":"Simple wildcard matching","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/matcher.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":{"types":"./index.d.ts","default":"./index.js"},"sideEffects":false,"engines":{"node":">=20"},"scripts":{"test":"xo && ava","bench":"matcha bench.js"},"keywords":["matcher","matching","match","regex","regexp","regular","expression","wildcard","pattern","string","filter","glob","globber","globbing","minimatch"],"dependencies":{"escape-string-regexp":"^5.0.0"},"devDependencies":{"ava":"^6.4.1","matcha":"^0.7.0","xo":"^1.2.2"},"_id":"matcher@6.0.0","gitHead":"03e11aa72334be59532f5252700a9d14208f3ee4","types":"./index.d.ts","bugs":{"url":"https://github.com/sindresorhus/matcher/issues"},"homepage":"https://github.com/sindresorhus/matcher#readme","_nodeVersion":"18.20.4","_npmVersion":"10.9.2","dist":{"integrity":"sha512-TzDerdcNtI79w7Av4GT57bLdElPA/VAkjqdMZv8yhuc8geU2z0ljW9anXbX/55aHEMTpYypZb1lxsA/46r9oOQ==","shasum":"adb96076a0d045cdd601898395b52891755c0cf8","tarball":"http://registry-npm.ywwl.com/matcher/download/matcher-6.0.0.tgz","fileCount":5,"unpackedSize":13612,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIDYN0uCgFBoZWrKpyMjeJgCyenliP7R1+6CMqtPSuGJtAiEA8EA8N47ydac3FIemq2F+Uk1CpqUx9tQSfZBa6yWkhbY="}],"size":4231,"noattachment":false,"key":"/matcher/-/matcher-6.0.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/matcher_6.0.0_1757965511941_0.2798809645501834"},"_hasShrinkwrap":false,"publish_time":1757965512142,"_cnpm_publish_time":1757965512142},"5.0.0":{"name":"matcher","version":"5.0.0","description":"Simple wildcard matching","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/matcher.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.20.0 || ^14.13.1 || >=16.0.0"},"scripts":{"test":"xo && ava && tsd","bench":"matcha bench.js"},"keywords":["matcher","matching","match","regex","regexp","regular","expression","wildcard","pattern","string","filter","glob","globber","globbing","minimatch"],"dependencies":{"escape-string-regexp":"^5.0.0"},"devDependencies":{"ava":"^3.15.0","matcha":"^0.7.0","tsd":"^0.17.0","xo":"^0.45.0"},"gitHead":"9c9a267dbf6e7e95dcc0d29cf4bd756ea802ab01","bugs":{"url":"https://github.com/sindresorhus/matcher/issues"},"homepage":"https://github.com/sindresorhus/matcher#readme","_id":"matcher@5.0.0","_nodeVersion":"12.22.1","_npmVersion":"7.20.3","dist":{"integrity":"sha512-s2EMBOWtXFc8dgqvoAzKJXxNHibcdJMV0gwqKUaw9E2JBJuGUK7DrNKrA6g/i+v72TT16+6sVm5mS3thaMLQUw==","shasum":"cd82f1c7ae7ee472a9eeaf8ec7cac45e0fe0da62","tarball":"http://registry-npm.ywwl.com/matcher/download/matcher-5.0.0.tgz","fileCount":5,"unpackedSize":11811,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2yzkCRA9TVsSAnZWagAABh8P/AyNjQJwdyAs/UcxOWWp\nHxS2bc47Oyj6wLWeJe8ypGcGTDPr6mTswRy2k7ZoHKhEKpyN5NRvc1aYemQU\ngaBD9fe9Gnntm3aHGXDTw6f5fzYnRQwKtHVx/vdapwFZSR+gMPpZhwn+ljzB\nZvUf8wa9tp2GuXdyW5UHYele+EH6XCWX4Qk8d8/EywLRU8jedTecFjfiRWJl\nNnC2f4Cj0Ngbu6ZoDfztV/817DcfB5jXBO2ybB8c4W9ovvGwUnfR/1IENQj3\nVlLNqQtZR2hD5AJPviIyvq1UOF0EZL3JQSvXosu94kyoJ0fznEJsoTGmhuet\nArTc7Ldstxf/85dHLgonJqGZC2jvCILHkpxw6Mne+whHXgOsHgeb6De/xngZ\nuzWRh4o216JWAWqB83Qxq0iDjOb7d2fKTRYOMN3HHBTkCI5losVF+Th7HWSQ\noVs/UlOOpEZnm1EEjjHkSNkEvaagY+dkjjJo5Lzop7MAF/HDxo+NwP3AdWp+\nuiuceGqot27vX/dGtQLV110Pi0k+El4Affur5jHZ58PwSt5xOr1cte4cs9S+\nLY70zbT4zhnDyNnkrDnvW0CycFXoi0Uu9mVSA+WbwFDqH4bXnAMLujVJ3T1d\nqnfEBXonxySKDe4bGslCMZp1UGlZ2sDryuGQ6LK/LGR1FRCIl1Dv4jfIczB2\nPdJ0\r\n=RxYG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCthE8ozNS4A9XTGaC0S0jnbbpNmNVIhs1GGjgXeRVvcAIgCFzLLeJSLsEWRIhekL0udoZwlx03igxmwfdIb5X/ls4="}],"size":3900,"noattachment":false,"key":"/matcher/-/matcher-5.0.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matcher_5.0.0_1633253383888_0.1259041616871588"},"_hasShrinkwrap":false,"publish_time":1633253384079,"_cnpm_publish_time":1633253384079},"4.0.0":{"name":"matcher","version":"4.0.0","description":"Simple wildcard matching","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/matcher.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","bench":"matcha bench.js"},"keywords":["matcher","matching","match","regex","regexp","regular","expression","wildcard","pattern","string","filter","glob","globber","globbing","minimatch"],"dependencies":{"escape-string-regexp":"^4.0.0"},"devDependencies":{"ava":"^2.4.0","matcha":"^0.7.0","tsd":"^0.14.0","xo":"^0.38.2"},"gitHead":"1b92d11047336a5c1f55e26ec8518f99d8f1beec","bugs":{"url":"https://github.com/sindresorhus/matcher/issues"},"homepage":"https://github.com/sindresorhus/matcher#readme","_id":"matcher@4.0.0","_nodeVersion":"14.15.1","_npmVersion":"6.14.10","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-S6x5wmcDmsDRRU/c2dkccDwQPXoFczc5+HpQ2lON8pnvHlnvHAHj5WlLVvw6n6vNyHuVugYrFohYxbS+pvFpKQ==","shasum":"a42a05a09aaed92e2d241eb91fddac689461ea51","tarball":"http://registry-npm.ywwl.com/matcher/download/matcher-4.0.0.tgz","fileCount":5,"unpackedSize":9956,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgO3d6CRA9TVsSAnZWagAAS/4P/0LsGY2iFhlXPbTBYm6A\nXSTlRjLjiEEmqo9ftX8bVQoEP8xzhvdQf+GvNTELfm60Qjjj2VEMh36XQJh1\nw9Q8hLsrhqkDw6+Y3BPHfE5i5UiVmpsWi3YUA07451+mJ69IvirrbhuCrigt\n7Lpg37o5Fu2B9mqhlMtvG0LKgiVuE4dVNxrYYVdI2VB7jUj9JMkRB3b557Yt\n024KW5S9bn/4fS78qCR1VD2mo225MJpRfVmffJd4QOoRpQRG6GMpfspiRv8I\n4/Ahrgutoa++WQzenSSDXvvQ0vf7cYYkhXeS+79Um+eoAtOBsZ2QHwt0tG1m\nRyci/ws34AauIcSvucvCUeYkZkdwCHjmSVwcah/aJs37tsFzHbDMnoabv5Zr\nete+xRFsnZtg3Thfy8ox1TZM6RXT/dqU72OcUTBqyNXUu6bfydLJpzXomIYG\n09ISRccJa6Fgf2qHkmWGB/3cEiSSDIEAZwOqHyZ0wOrAWG7S+YmH7OH++Rrj\nGtR6VMrAc03tP1A4wjAAUFnTqkZRYr/FTvAwCRy9gjM9XcjBjqcQjuTirpW+\nO24mFymV3UDDA7F+6BsdrRGVnvLBKtc+gbj6Fu3Ue8/kB+tOZWVFoq2OJDhY\nnOwDII+rZxAfQ/IbDDdXT+eEuSxE/XSbAEjIfScnIXsbRiEkjPrL/dtczpZk\nDXel\r\n=yiBb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBw0eS2P7DqmpcG36MUEHgezM3dlxl8cWCkaoEZzsQmaAiEA5rptISl6H7PvqmD9P8ka2kn1C4rjn/0dFBAvLw+L3fk="}],"size":3483,"noattachment":false,"key":"/matcher/-/matcher-4.0.0.tgz"},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matcher_4.0.0_1614509946111_0.507401972956697"},"_hasShrinkwrap":false,"publish_time":1614509946276,"_cnpm_publish_time":1614509946276},"3.0.0":{"name":"matcher","version":"3.0.0","description":"Simple wildcard matching","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/matcher.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"engines":{"node":">=10"},"scripts":{"test":"xo && ava && tsd","bench":"matcha bench.js"},"keywords":["matcher","matching","match","regex","regexp","regular","expression","wildcard","pattern","string","filter","glob","globber","globbing","minimatch"],"dependencies":{"escape-string-regexp":"^4.0.0"},"devDependencies":{"ava":"^2.4.0","matcha":"^0.7.0","tsd":"^0.11.0","xo":"^0.30.0"},"xo":{"rules":{"@typescript-eslint/member-ordering":"off"}},"gitHead":"d29550d281885df0b32d53c2b72ec788e3265454","bugs":{"url":"https://github.com/sindresorhus/matcher/issues"},"homepage":"https://github.com/sindresorhus/matcher#readme","_id":"matcher@3.0.0","_nodeVersion":"10.20.1","_npmVersion":"6.14.4","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-OkeDaAZ/bQCxeFAozM55PKcKU0yJMPGifLwV4Qgjitu+5MoAfSQN4lsLJeXZ1b8w0x+/Emda6MZgXS1jvsapng==","shasum":"bd9060f4c5b70aa8041ccc6f80368760994f30ca","tarball":"http://registry-npm.ywwl.com/matcher/download/matcher-3.0.0.tgz","fileCount":5,"unpackedSize":8819,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJepbL+CRA9TVsSAnZWagAA9YsP/1oxAEBzRE/uTSgqdGwf\np+/Ycecrq/GCqKzGW7S28L5tlgImVCYLI5nyXu4e9/3SeWBnrP+cLeiMTkNv\nmb+uPvRMqMQyTmd/F1LtPORNbQ5OYWUmWafD8Bj/2OTWHK5qwal8VY7Au7XB\nc5AK/cQWujX8jBZlLV+evVTV2wLrCTnhwH+VydMcH/4K5yC16pazBFA7bVsQ\neXwQdAWVgpbXVxp1BbC/F7IkxgGeIGmoqF9wTPVx7YR7Ia5StvIc+1nDy6qU\nxYYWgJfDZg/WvaA5EAK3y8yFQiuYmeWD0vIhHd/Ame+NhCIG3VqI9fVTFRla\nlzImqn6jgDP9VgHNFwfI5Djl/9RdP1X/Jmz1wb623Vr1Fyyx4+WwzxRCKSLS\nyCc0Z2Mb6UQ9TqOPn2E5an7gtp5DHEpha3rC/0vtfRlIYClTlGW2CHPIhbX6\nB9EnjMuzwcWQkEOLSx5bo7dCmNaNWycb/6d3Jz3iwIwKGfWwtz74qyamAnUn\nfJim/TaZ8z6slYYx9+aNshiH4Ux1PETzP/cRUWaL4gkq1AUsfniJZkohfUN/\nJ7vYBlA9fZ0ERlJQwFZbZIu/qtB1QA+DGZGFPy3+YRrmv7XywIKh+bo1m5d/\nvsJX8VJRAVoTh3hiiov9X9s9VAbzt50rZcqTwcBa3+24DiYGjL2VwSr8FFf/\ndx8C\r\n=FMfj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIExlHgBUuw/3E16QUYZqBVQmSjZAgz1TO9unIE9bHVmzAiEAiGVylHpdzfoTHpTN5X0M7QK+J4Z4kzEA494fGJSMzXo="}],"size":3357,"noattachment":false,"key":"/matcher/-/matcher-3.0.0.tgz"},"maintainers":[{"email":"sindresorhus@gmail.com","name":"sindresorhus"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matcher_3.0.0_1587917565810_0.7837550944109486"},"_hasShrinkwrap":false,"publish_time":1587917565930,"_cnpm_publish_time":1587917565930},"2.1.0":{"name":"matcher","version":"2.1.0","description":"Simple wildcard matching","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/matcher.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"xo && ava && tsd","bench":"matcha bench.js"},"keywords":["matcher","matching","match","regex","regexp","regular","expression","wildcard","pattern","string","filter","glob","globber","globbing","minimatch"],"dependencies":{"escape-string-regexp":"^2.0.0"},"devDependencies":{"ava":"^2.4.0","matcha":"^0.7.0","tsd":"^0.11.0","xo":"^0.25.3"},"gitHead":"519dbd05c62c9bbaefa00867666b8f5be49d2545","bugs":{"url":"https://github.com/sindresorhus/matcher/issues"},"homepage":"https://github.com/sindresorhus/matcher#readme","_id":"matcher@2.1.0","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-o+nZr+vtJtgPNklyeUKkkH42OsK8WAfdgaJE2FNxcjLPg+5QbeEoT6vRj8Xq/iv18JlQ9cmKsEu0b94ixWf1YQ==","shasum":"64e1041c15b993e23b786f93320a7474bf833c28","tarball":"http://registry-npm.ywwl.com/matcher/download/matcher-2.1.0.tgz","fileCount":5,"unpackedSize":8459,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd04PiCRA9TVsSAnZWagAAUBAP/jK5H47KoCTNHq/iEMEK\nnbIuwmkcryGdZsYtYr0+jHmTiVMop6lJAaPlxqhpoHVyjOZWbFs9nfwvrYhe\nNwsaZRYu7/NTkMn0kI1a6ORa7EhT/YpOF8M4F6gkUNUq1Whq4IHlvN4TMePP\nSHkwbGJAFmQcVnNKtvRYtIezia2aOpxWqAHgcwLZ1gYtMduSta4qO2GDo3RY\nmGQjJ529ewNtcuNopRXS6D2zuSsArEm3WBbRn7ilHQfKmnQLtuHPLxdcIJfq\npnPxQSDvh0VYsu/4MoG+8H8ZtMnkFnU+gHCWGrpMxDSPEHsqe6lC8xl4d8GM\nogXk/SYfcsql33LpsjAnJ1Cbtl/QGZYJhMn6zxELtbrrVYfJV99sAe0auCX8\nn0and/q1WEzpiPBnixLCmIaimgywpcw70oB6DItqKJR/dGPZfMfS/IkPqed9\nJwh8DXOZaM2OFo/owl1z8TbPkfahPACcFQd8ywIUo7RPQprch2sgr/T5WSUf\naBDAkzfwk5BeUJy9OSKW31tpCierXLVmE8xuey0AvFeM25ybO5edGg8V5f0H\nyTxPy0sDtxGUjCfGOLaosR/mcThFms2zMxzhv6AGhifByqJXKKv70PnUe+JX\nNkK8bTkWrKTVJUg2nUyW2WoOxeyDPH+safYSD6xD61brp5B09K7duqr4FShB\nfxu/\r\n=w42x\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID7AW7DTmdGdv8dDq3enSIw1YuwTBOSFVR+Vfiq5HVf2AiBlHKpY2GVrEgr83sHinxH94GUVGj2sqvwY4+8OiN6B4g=="}],"size":3261,"noattachment":false,"key":"/matcher/-/matcher-2.1.0.tgz"},"maintainers":[{"email":"sindresorhus@gmail.com","name":"sindresorhus"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matcher_2.1.0_1574142946425_0.4085434859242858"},"_hasShrinkwrap":false,"publish_time":1574142946578,"_cnpm_publish_time":1574142946578},"2.0.0":{"name":"matcher","version":"2.0.0","description":"Simple wildcard matching","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/matcher.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"xo && ava && tsd","bench":"matcha bench.js"},"keywords":["matcher","matching","match","regex","regexp","regular","expression","wildcard","pattern","string","filter","glob","globber","globbing","minimatch"],"dependencies":{"escape-string-regexp":"^2.0.0"},"devDependencies":{"ava":"^1.4.1","matcha":"^0.7.0","tsd":"^0.7.2","xo":"^0.24.0"},"gitHead":"c3e9e96abbbff8ea93e5876819d1b4d3929aec5a","bugs":{"url":"https://github.com/sindresorhus/matcher/issues"},"homepage":"https://github.com/sindresorhus/matcher#readme","_id":"matcher@2.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-nlmfSlgHBFx36j/Pl/KQPbIaqE8Zf0TqmSMjsuddHDg6PMSVgmyW9HpkLs0o0M1n2GIZ/S2BZBLIww/xjhiGng==","shasum":"85fe38d97670dbd2a46590cf099401e2ffb4755c","tarball":"http://registry-npm.ywwl.com/matcher/download/matcher-2.0.0.tgz","fileCount":5,"unpackedSize":7250,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcvWrMCRA9TVsSAnZWagAAjeIQAJwiPpgpkU3mZ8HVQsQq\nuKmJddF2AsLzYRDCoXDq/vS+ETjqSMxwCvyvlIK2lxW95dZsLB4Yx52/9Qm2\nzfkSmAzAaqvpo3zyzbY1OxsWUur3Rug9hQ3EVtfgb5T56Tx/ZbJ3OFaxDyBi\npcy7FRZ1RnMPBNEsJQtURXGL2fo5jTTB5B6+yWbWjiAebb6WJ0SX0+g8OKC6\nHqk0hN4X/9D87XLJzy+PR2z78kaJ2Q+oH6i2eoAVsdenNpJ25beo9Eu/2C13\nhcaNKC996CGSaD6884Kdk7GAIjN9w6enWua1QeRcI8CS10UGjGjqcwqtodGi\nUS57PPPaqESwGtyyR2cBDJtj1GKB7La+BbamOaS31pkwjgGV6slai9CX2kL/\nFDYALIYO7pQqP/YEzVf5CIrPanvqQlv7lV+GPlqvcbmkZeKtNlqRWoazwTk3\nI24jlrKKMULN9FBFlSwEWR3cb9eMbbej1Ej/qAJoqyU41E8XH9eZZTnscegN\nSG7dpk8iXytQdabr7I7DVKC4/t8h53bKWtsmGuwwzPATQ3hxvZuGpFP3DV6V\nNqv5+IJttRPZa24y13bH63QHXXsl54DMsGQZCLLaLiViURMktP9AjLzPgLxu\nlPIJizf6VsalOqxr7xrcYXtBSz3hAxwTRneww9LpCOAJR0ahZr9IKfcBf767\nOzpM\r\n=2dpO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFwx9EZA3ebIlwRGf8wV0v3hwRn7UcRTBS3+iXU3vDhtAiEA5nTFAc9xzWdAurIHSRiAqZVHT0IZ6TmOlMz1y60Q2YU="}],"size":2888,"noattachment":false,"key":"/matcher/-/matcher-2.0.0.tgz"},"maintainers":[{"email":"sindresorhus@gmail.com","name":"sindresorhus"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matcher_2.0.0_1555917516083_0.45884867175450017"},"_hasShrinkwrap":false,"publish_time":1555917516241,"_cnpm_publish_time":1555917516241},"1.1.1":{"name":"matcher","version":"1.1.1","description":"Simple wildcard matching","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/matcher.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava","bench":"matcha bench.js"},"files":["index.js"],"keywords":["matcher","matching","match","regex","regexp","regular","expression","wildcard","pattern","string","filter","glob","globber","globbing","minimatch"],"dependencies":{"escape-string-regexp":"^1.0.4"},"devDependencies":{"ava":"*","matcha":"^0.7.0","xo":"*"},"gitHead":"ceb35a277e4531a6c032d16e8f98585855ec1556","bugs":{"url":"https://github.com/sindresorhus/matcher/issues"},"homepage":"https://github.com/sindresorhus/matcher#readme","_id":"matcher@1.1.1","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-+BmqxWIubKTRKNWx/ahnCkk3mG8m7OturVlqq6HiojGJTd5hVYbgZm6WzcYPCoB+KBT4Vd6R7WSRG2OADNaCjg==","shasum":"51d8301e138f840982b338b116bb0c09af62c1c2","tarball":"http://registry-npm.ywwl.com/matcher/download/matcher-1.1.1.tgz","fileCount":4,"unpackedSize":5277,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbB4JrCRA9TVsSAnZWagAA7OcP/1ZWFL+1pd9Xg9+FBrOX\n5KyGJ3T2dCDrZNvGm5tBE20qf1b8ub8uLy3BOTQfVXsbVh7RGc0HH2kZlUcM\n7VPwt1Hxjs+Hv6pUkOCypadhmxgCrWu+s4tZ3cf7y8U1MIEqpfjTX/EA0K3s\ntAHE7/PubtpOCiF7HNtY6Bh7a5+2T8SyKdQTmcJ+hbywNOtOdZVQ86F8v9Gv\nqhKA0cPa37oc6t54NMfeF54hliZ/mxG849of9SbIh23MDAHD0CyBEv3uhbYJ\nN80rPW+Sm51knyrws4rVSTjJ+7xHw3B3uERK5zdworn+cf/waqZHjsnPfkVr\nSCxFkLUoDg+erz1sNgogAtmt6Fi90cJpSGij+xF0PYiWwlHd378I2Xh3/IeJ\nm2CjK2PGHDjb3rS26hG1AE8FjwKdVsC/8UfEeCknYvBRnNybWexeY36NC6Hl\nnIbwLjOSqFtdMy27GY+oJ0ftA7n/I33jrdCJou+KgNQx+t7iOKrlZfwfeR+W\nPR0RyESBcwdo3/bKDNfCkZhzhG9ZKJvlzIRNvUxaWNSBWUNOOPDedCuDHlaR\nFo5HiwmTizJ/u40UJvoYEV/G6kEINuUbxrtVf6Cby/aRZHIhamSdK4vKBgHQ\nOobWsv4Xo675yr4AR8JHfOwjN/zg5gnElkaPastS1XhQG50L+1JGNNfnGqd2\n7M88\r\n=vbZ3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA0NFsrBzcbDSyiCMhfxyXRkdYi6muoPa9l2fjUgWxoqAiBlOLF01sjd5/9C0ON0eVeknuU3dlp2Z5pqEkh3WT1GGQ=="}],"size":2545,"noattachment":false,"key":"/matcher/-/matcher-1.1.1.tgz"},"maintainers":[{"email":"sindresorhus@gmail.com","name":"sindresorhus"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matcher_1.1.1_1527218795047_0.685635199476512"},"_hasShrinkwrap":false,"publish_time":1527218795128,"_cnpm_publish_time":1527218795128},"1.1.0":{"name":"matcher","version":"1.1.0","description":"Simple wildcard matching","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/matcher.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava","bench":"matcha bench.js"},"files":["index.js"],"keywords":["matcher","matching","match","regex","regexp","regular","expression","wildcard","pattern","string","filter","glob","globber","globbing","minimatch"],"dependencies":{"escape-string-regexp":"^1.0.4"},"devDependencies":{"ava":"*","matcha":"^0.7.0","xo":"*"},"gitHead":"42610487ad6679e8198c330a7d0a8532a1d10526","bugs":{"url":"https://github.com/sindresorhus/matcher/issues"},"homepage":"https://github.com/sindresorhus/matcher#readme","_id":"matcher@1.1.0","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-aZGv6JBTHqfqAd09jmAlbKnAICTfIvb5Z8gXVxPB5WZtFfHMaAMdACL7tQflD2V+6/8KNcY8s6DYtWLgpJP5lA==","shasum":"4ad3a9cb6585186dc95cb8a08c7de936caed17ee","tarball":"http://registry-npm.ywwl.com/matcher/download/matcher-1.1.0.tgz","fileCount":4,"unpackedSize":5306,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEj18oEkD/ZcnxJrN9/lrdGaYNsdUaOSNHdN5HJkZf0jAiBqiQ4QLE7vfxQEXqUekSrgwZX62q5geNQ+IJLFp2JgJQ=="}],"size":2555,"noattachment":false,"key":"/matcher/-/matcher-1.1.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"},{"name":"star212417","email":"star212417@163.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/matcher_1.1.0_1518336707867_0.22106888789782264"},"_hasShrinkwrap":false,"publish_time":1518336707911,"_cnpm_publish_time":1518336707911},"1.0.0":{"name":"matcher","version":"1.0.0","description":"Simple wildcard matching","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/matcher.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava","bench":"matcha bench.js"},"files":["index.js"],"keywords":["matcher","matching","match","regex","regexp","regular","expression","wildcard","pattern","string","filter","glob","globber","globbing","minimatch"],"dependencies":{"escape-string-regexp":"^1.0.4"},"devDependencies":{"ava":"*","matcha":"^0.7.0","xo":"*"},"gitHead":"616bdec80b7052884e5859c7c0f58352b57d8bd7","bugs":{"url":"https://github.com/sindresorhus/matcher/issues"},"homepage":"https://github.com/sindresorhus/matcher#readme","_id":"matcher@1.0.0","_shasum":"aaf0c4816eb69b92094674175625f3466b0e3e19","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"aaf0c4816eb69b92094674175625f3466b0e3e19","tarball":"http://registry-npm.ywwl.com/matcher/download/matcher-1.0.0.tgz","integrity":"sha512-eSRXhwlaNbf0y2CK5uPvtUISYKmCBJDlQAPWRQ3h2Y18ELZEzYO0fqAWdxIzRokIOqZKVJErPAdm8UzXX4ImJQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDFNjDeIriBn/NmPoy4T0ym2wHRGgdwHqIFc70FQPPrVQIgBACV7kbSZ1LwPgT4rh0LjYtTzhhyVeEALDX+zq91Wlk="}],"size":2432,"noattachment":false,"key":"/matcher/-/matcher-1.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"},{"name":"star212417","email":"star212417@163.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/matcher-1.0.0.tgz_1494951741280_0.6750510828569531"},"directories":{},"publish_time":1494951744715,"_cnpm_publish_time":1494951744715},"0.1.2":{"name":"matcher","version":"0.1.2","description":"Simple wildcard matching","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/matcher"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["matcher","matching","match","regex","regexp","regular","expression","wildcard","pattern","string","filter","glob","globbing","minimatch"],"dependencies":{"escape-string-regexp":"^1.0.4"},"devDependencies":{"ava":"*","xo":"*"},"gitHead":"efa4f8f4857d360c1663caeffd17648c03243454","bugs":{"url":"https://github.com/sindresorhus/matcher/issues"},"homepage":"https://github.com/sindresorhus/matcher","_id":"matcher@0.1.2","_shasum":"ef20cbde64c24c50cc61af5b83ee0b1b8ff00101","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.3.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"ef20cbde64c24c50cc61af5b83ee0b1b8ff00101","tarball":"http://registry-npm.ywwl.com/matcher/download/matcher-0.1.2.tgz","integrity":"sha512-e+Sqhn8HEY9cAUCBacJHDqFneV1kc1r9m1uH6QMTCb8vWjaHlBkzDmJ6YLgruFquiWmhxFIJUQqj+xWoiqh/Ew==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHannmBnnyxM/rylFm+K0xfTbVwnTawOj6fZsy4AbbFtAiEAnPNJixAaRgdAmRH11uG+yK7hTFYd/T8PRZEcoQmLkbU="}],"size":2351,"noattachment":false,"key":"/matcher/-/matcher-0.1.2.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"},{"name":"star212417","email":"star212417@163.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/matcher-0.1.2.tgz_1456931259008_0.5133641171269119"},"directories":{},"publish_time":1456931259686,"_cnpm_publish_time":1456931259686},"0.1.1":{"name":"matcher","version":"0.1.1","description":"Simple wildcard matching","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/matcher"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["matcher","matching","match","regex","regexp","regular","expression","wildcard","pattern","string","filter","glob","globbing","minimatch"],"dependencies":{"escape-string-regexp":"^1.0.4"},"devDependencies":{"ava":"*","xo":"*"},"gitHead":"63379582df6fb1ec483baddadb3d22bd585ad231","bugs":{"url":"https://github.com/sindresorhus/matcher/issues"},"homepage":"https://github.com/sindresorhus/matcher","_id":"matcher@0.1.1","_shasum":"5693045d2e0777f24661dfce36d1415d91d37d00","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.4","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"5693045d2e0777f24661dfce36d1415d91d37d00","tarball":"http://registry-npm.ywwl.com/matcher/download/matcher-0.1.1.tgz","integrity":"sha512-qYtFVXy16E+xvcSUoXi31hcEEawuz6jzlzPqKW12hsylIBhcbXJutZK493ISNVcLI2uv8UQzAca2gMBSm6xBmw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID7UV8BlOfPSWXtf0W9n8JIFa2MqUQYdbnk+uKhWZEhEAiATgzfkCEMDmI3K4zdvU224dUXXbArSd8pDvc8hSppJWw=="}],"size":2343,"noattachment":false,"key":"/matcher/-/matcher-0.1.1.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"},{"name":"star212417","email":"star212417@163.com"}],"_npmOperationalInternal":{"host":"packages-5-east.internal.npmjs.com","tmp":"tmp/matcher-0.1.1.tgz_1454659889764_0.02017889660783112"},"directories":{},"publish_time":1454659891898,"_cnpm_publish_time":1454659891898},"0.1.0":{"name":"matcher","version":"0.1.0","description":"Simple wildcard matching","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/matcher"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["matcher","matching","match","regex","regexp","regular","expression","wildcard","pattern","string","filter","glob","globbing","minimatch"],"dependencies":{"escape-string-regexp":"^1.0.4"},"devDependencies":{"ava":"*","xo":"*"},"gitHead":"da6184cc6af395de7921cfab82b2df7bd45fc5b0","bugs":{"url":"https://github.com/sindresorhus/matcher/issues"},"homepage":"https://github.com/sindresorhus/matcher","_id":"matcher@0.1.0","_shasum":"bf35c904f9c612e36b686f38df96dd96a62da651","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.4","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"bf35c904f9c612e36b686f38df96dd96a62da651","tarball":"http://registry-npm.ywwl.com/matcher/download/matcher-0.1.0.tgz","integrity":"sha512-qP7b35B1gZM2CB07dlAHks6fUD485MbmdIOu3YLneVEM+AouYKUv7mHiXMW4itZxOaj22Kcs8q0Dq5RcCKtUEA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH2TjOM1uYn2Bc6VmQ3KutI75wYIVDzwVAt3ScvHsKFAAiEAkGLJb81JMWC+FFWiqke7Bkg+XvS95ipP9c7cTcROoqk="}],"size":2326,"noattachment":false,"key":"/matcher/-/matcher-0.1.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"},{"name":"star212417","email":"star212417@163.com"}],"_npmOperationalInternal":{"host":"packages-6-west.internal.npmjs.com","tmp":"tmp/matcher-0.1.0.tgz_1454656050975_0.6321127344854176"},"directories":{},"publish_time":1454656051574,"_cnpm_publish_time":1454656051574}},"readme":"# matcher\n\n> Simple [wildcard](https://en.wikipedia.org/wiki/Wildcard_character) matching\n\nUseful when you want to accept loose string input and regexes/globs are too convoluted.\n\n## Install\n\n```sh\nnpm install matcher\n```\n\n## Usage\n\n```js\nimport {matcher, isMatch} from 'matcher';\n\nmatcher(['foo', 'bar', 'moo'], ['*oo', '!foo']);\n//=> ['moo']\n\nmatcher(['foo', 'bar', 'moo'], ['!*oo']);\n//=> ['bar']\n\nmatcher('moo', ['']);\n//=> []\n\nmatcher('moo', []);\n//=> []\n\nmatcher([''], ['']);\n//=> ['']\n\nisMatch('unicorn', 'uni*');\n//=> true\n\nisMatch('unicorn', '*corn');\n//=> true\n\nisMatch('unicorn', 'un*rn');\n//=> true\n\nisMatch('rainbow', '!unicorn');\n//=> true\n\nisMatch('foo bar baz', 'foo b* b*');\n//=> true\n\nisMatch('unicorn', 'uni\\\\*');\n//=> false\n\nisMatch(['foo', 'bar'], 'f*');\n//=> true\n\nisMatch(['foo', 'bar'], ['a*', 'b*']);\n//=> true\n\nisMatch('unicorn', ['']);\n//=> false\n\nisMatch('unicorn', []);\n//=> false\n\nisMatch([], 'bar');\n//=> false\n\nisMatch([], []);\n//=> false\n\nisMatch([''], ['']);\n//=> true\n\n// With `allPatterns` option\nisMatch('foobar', ['foo*', '*bar'], {allPatterns: true});\n//=> true\n\nisMatch('foo', ['foo*', '*bar'], {allPatterns: true});\n//=> false\n```\n\n## API\n\nIt matches even across newlines. For example, `foo*r` will match `foo\\nbar`.\n\n### matcher(inputs, patterns, options?)\n\nAccepts a string or an array of strings for both `inputs` and `patterns`.\n\nReturns an array of `inputs` filtered based on the `patterns`.\n\n### isMatch(inputs, patterns, options?)\n\nAccepts a string or an array of strings for both `inputs` and `patterns`.\n\nReturns a `boolean` of whether any of the given `inputs` matches the `patterns`. With `allPatterns` enabled, an input has to match every non-negated pattern, not just one.\n\n#### inputs\n\nType: `string | string[]`\n\nThe string or array of strings to match.\n\n#### options\n\nType: `object`\n\n##### caseSensitive\n\nType: `boolean`\\\nDefault: `false`\n\nMake matching case-sensitive. When `false`, treats uppercase and lowercase characters as being the same, the way a case-insensitive regular expression without the `u` flag does. So a character whose uppercase form is more than one character (`ß`) or is ASCII while the character itself is not (`ı`, `ſ`), and every character outside the Basic Multilingual Plane, only matches itself.\n\nEnsure you use this correctly. For example, files and directories should be matched case-insensitively, while most often, object keys should be matched case-sensitively.\n\n```js\nimport {isMatch} from 'matcher';\n\nisMatch('UNICORN', 'UNI*', {caseSensitive: true});\n//=> true\n\nisMatch('UNICORN', 'unicorn', {caseSensitive: true});\n//=> false\n\nisMatch('unicorn', ['tri*', 'UNI*'], {caseSensitive: true});\n//=> false\n```\n\n##### allPatterns\n\nType: `boolean`\\\nDefault: `false`\n\nA negated pattern always excludes the inputs it matches, whether or not this option is set. Setting it also requires every non-negated pattern to match the same input, instead of at least one of them.\n\n```js\nimport {matcher} from 'matcher';\n\n// Find text strings containing both \"edge\" and \"tiger\" in arbitrary order, but not \"stunt\".\nconst demo = (strings) => matcher(strings, ['*edge*', '*tiger*', '!*stunt*'], {allPatterns: true});\n\ndemo(['Hey, tiger!', 'tiger has edge over hyenas', 'pushing a tiger over the edge is a stunt']);\n//=> ['tiger has edge over hyenas']\n```\n\n```js\nimport {matcher} from 'matcher';\n\nmatcher(['foo', 'for', 'bar'], ['f*', 'b*', '!x*'], {allPatterns: true});\n//=> []\n\nmatcher(['foo', 'for', 'bar'], ['f*'], {allPatterns: true});\n//=> ['foo', 'for']\n```\n\n#### patterns\n\nType: `string | string[]`\n\nUse `*` to match zero or more characters.\n\nA leading `!` negates the pattern.\n\nA `\\` escapes the character after it, so `\\*` matches a literal `*` and `\\\\` matches a literal `\\`. A `\\` at the very end of a pattern matches itself.\n\nAn input string will be omitted if there is no pattern at all, if it matches a negated pattern, or if there are non-negated patterns and it fails to match them: all of them when `allPatterns` is set, at least one otherwise. When every pattern is negated, an input is kept as long as it matches none of them.\n\n```js\nimport {isMatch} from 'matcher';\n\nisMatch('unicorn', 'uni\\\\*');\n//=> false\n\nisMatch('uni*', 'uni\\\\*');\n//=> true\n\n// Every backslash in a Windows path has to be doubled, otherwise the first one escapes the second.\nisMatch('C:\\\\temp\\\\x', 'C:\\\\\\\\temp\\\\\\\\*');\n//=> true\n\nisMatch('C:\\\\temp\\\\x', 'C:\\\\temp\\\\*');\n//=> false\n```\n\n## Benchmark\n\n```sh\nnpm run bench\n```\n\n## Related\n\n- [matcher-cli](https://github.com/sindresorhus/matcher-cli) - CLI for this module\n- [multimatch](https://github.com/sindresorhus/multimatch) - Extends `minimatch.match()` with support for multiple patterns\n","_attachments":{},"homepage":"https://github.com/sindresorhus/matcher#readme","bugs":{"url":"https://github.com/sindresorhus/matcher/issues"},"license":"MIT"}