{"_id":"is-match","_rev":"16-69d38e899f2255bd1b939acbced794df","name":"is-match","description":"Create a matching function from a glob pattern, regex, string, array, object or function.","dist-tags":{"latest":"1.0.0"},"versions":{"0.1.0":{"name":"is-match","description":"Create a matching function from a glob pattern, regex, string, array or function.","version":"0.1.0","homepage":"https://github.com/jonschlinkert/is-match","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/is-match.git"},"bugs":{"url":"https://github.com/jonschlinkert/is-match/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/is-match/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"micromatch":"^1.2.2"},"devDependencies":{"mocha":"*","should":"*"},"keywords":["array","function","glob","match","matcher","matches","matching","minimatch","multimatch","pattern","patterns","regex","regexp","regular expression","wildcard"],"gitHead":"08d61a312c47e97896fb691f711d1ca8853bc63c","_id":"is-match@0.1.0","_shasum":"33b78c1a34525f4478a80e36272e4cd547619b6b","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"33b78c1a34525f4478a80e36272e4cd547619b6b","tarball":"https://registry.npmjs.org/is-match/-/is-match-0.1.0.tgz","integrity":"sha512-gEfYkWKqgfyOAqY6r225EyzeWvBC8wp9q+iWoQbyF3Hf9d6UuTBST8uGI3jiDdhNCowXBcMoUV8KCXdeFY+C3g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCIeMLAvhrudb65p66usy9tQF+ywC+4dJlOadphZ4BzLQIhAIuyIt5EHO9Y4QpEHtzd54bq30dJS7uOoXMOWZtKpClT"}]}},"0.2.0":{"name":"is-match","description":"Create a matching function from a glob pattern, regex, string, array or function.","version":"0.2.0","homepage":"https://github.com/jonschlinkert/is-match","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/is-match.git"},"bugs":{"url":"https://github.com/jonschlinkert/is-match/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/is-match/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"micromatch":"^2.1.6"},"devDependencies":{"mocha":"*","should":"*"},"keywords":["array","function","glob","match","matcher","matches","matching","minimatch","multimatch","pattern","patterns","regex","regexp","regular expression","wildcard"],"gitHead":"90db76072385a22c92a6fb802e15e721cc1ceac3","_id":"is-match@0.2.0","_shasum":"935e8706bddba258dd6a732bd5d2c17b26aee1ee","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"935e8706bddba258dd6a732bd5d2c17b26aee1ee","tarball":"https://registry.npmjs.org/is-match/-/is-match-0.2.0.tgz","integrity":"sha512-GP2Zoq+ci5ajUdA9IUr/w5HN0GVnokLmWnESFfFMYm61Z5o/7qp3VW/St+9iLqH8UOi6azCS0S3+ArUFjXo0RA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCfXuh6dKa55EZZ6h0kVzFFWLKSVRNQUEUffZcK0sCxHAIhANGqrwzOvCdvWLUTLRAliG3gcy6m0Y3R+KH3D04TZsoI"}]}},"0.3.0":{"name":"is-match","description":"Create a matching function from a glob pattern, regex, string, array or function.","version":"0.3.0","homepage":"https://github.com/jonschlinkert/is-match","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/is-match.git"},"bugs":{"url":"https://github.com/jonschlinkert/is-match/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"is-glob":"^2.0.0","isobject":"^1.0.0","lodash.where":"^3.1.0","micromatch":"^2.1.6"},"devDependencies":{"mocha":"*","should":"*","verb":"^0.8.6"},"keywords":["any","array","contains","expression","function","glob","has","match","matcher","matches","matching","minimatch","multimatch","object","pattern","patterns","regex","regexp","regular","value","where","wildcard"],"gitHead":"f55c71acf1ee0f99fe29bff9a5c3009ba06990fb","_id":"is-match@0.3.0","_shasum":"c282eb61169911fa3585cda42e2bce66b12ce228","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"c282eb61169911fa3585cda42e2bce66b12ce228","tarball":"https://registry.npmjs.org/is-match/-/is-match-0.3.0.tgz","integrity":"sha512-56v/qI83D2cfwLgXJZF+DVpi19vPwUrtKnHvoY5WvulHjB5eK8WyRJj0tsM/yDvWDrrGzMCsLCuT0K5hH6C8Hg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDU4f4tRRnKeeknABChjUM00TKDTkOr7CYmICNGLKMKXQIgLucfc6tiJnR6tu95bvKEwlovEbNaLNjwaZ78Xup0p3Q="}]}},"0.3.1":{"name":"is-match","description":"Create a matching function from a glob pattern, regex, string, array or function.","version":"0.3.1","homepage":"https://github.com/jonschlinkert/is-match","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/is-match.git"},"bugs":{"url":"https://github.com/jonschlinkert/is-match/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"deep-equal":"^1.0.0","is-glob":"^2.0.0","isobject":"^1.0.0","micromatch":"^2.1.6"},"devDependencies":{"mocha":"*","should":"*","verb":"^0.8.6"},"keywords":["any","array","contains","expression","function","glob","has","match","matcher","matches","matching","minimatch","multimatch","object","pattern","patterns","regex","regexp","regular","value","where","wildcard"],"gitHead":"4fa5bbb29c3f13cdddaec7fa0413da728618a6a7","_id":"is-match@0.3.1","_shasum":"2dd6f5f88d46016c657319b5c730a9653cf3b74d","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"2dd6f5f88d46016c657319b5c730a9653cf3b74d","tarball":"https://registry.npmjs.org/is-match/-/is-match-0.3.1.tgz","integrity":"sha512-foEC11e9Z/NC/WqQ/1e8FIh8CtTN5zfzGcFNmUS0EXaRbgVLjfSgo7NW/pfjR3jdgrbsIH8nRg0OLm464o3Log==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICRGKoO3e/M3BzFNyNnvR6vl9NldSguKfEdroGx4elibAiEAifTiMYU3Tcr5246S+rzeAvEMlgdVsS9znU12bWazV3U="}]}},"0.3.2":{"name":"is-match","description":"Create a matching function from a glob pattern, regex, string, array or function.","version":"0.3.2","homepage":"https://github.com/jonschlinkert/is-match","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/is-match.git"},"bugs":{"url":"https://github.com/jonschlinkert/is-match/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"deep-equal":"^1.0.0","is-glob":"^2.0.0","isobject":"^1.0.0","micromatch":"^2.1.6"},"devDependencies":{"mocha":"*","should":"*","verb":"^0.8.6"},"keywords":["any","array","contains","expression","function","glob","has","match","matcher","matches","matching","minimatch","multimatch","object","pattern","patterns","regex","regexp","regular","value","where","wildcard"],"gitHead":"098d51fafa4ed52a06441e08ad868d9764a73ed2","_id":"is-match@0.3.2","_shasum":"9b98200bb4c95498036118c343e9ef93bd2bad0c","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"9b98200bb4c95498036118c343e9ef93bd2bad0c","tarball":"https://registry.npmjs.org/is-match/-/is-match-0.3.2.tgz","integrity":"sha512-6vbK0Cub5xlIgJO35sIl7fwe+bjLc4FLSp/4tcQLSW4H8CnmwtvuPEAVelk6WXYqaGU6mH01hHJ2bIcwyFI0VQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC4CtHsdDxIdtJKUpaDLrihXBj3noDAMY8dyW+daDfJiAIhANiW8kt9UStxX7ZMS33f0gP2b/ZEutgLIXL39zZwpYSh"}]}},"0.3.3":{"name":"is-match","description":"Create a matching function from a glob pattern, regex, string, array or function.","version":"0.3.3","homepage":"https://github.com/jonschlinkert/is-match","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/is-match.git"},"bugs":{"url":"https://github.com/jonschlinkert/is-match/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"deep-equal":"^1.0.0","is-glob":"^2.0.0","isobject":"^1.0.0","micromatch":"^2.1.6"},"devDependencies":{"mocha":"*","should":"*","verb":"^0.8.6"},"keywords":["any","array","contains","expression","function","glob","has","match","matcher","matches","matching","minimatch","multimatch","object","pattern","patterns","regex","regexp","regular","value","where","wildcard"],"gitHead":"28d8e7a279c6738675a658618cf1718d4047963b","_id":"is-match@0.3.3","_shasum":"1ad1185517124e068ce5104b7f0ec0a883d77455","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"1ad1185517124e068ce5104b7f0ec0a883d77455","tarball":"https://registry.npmjs.org/is-match/-/is-match-0.3.3.tgz","integrity":"sha512-GfGOnCplQSYOSUC57pBPaXhxA5Ohf6eF6lXVIMfkQrDrb8xW7wJVkXXfECZDCttVMwUcJhNpWOiB7kqVBcKsHQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC5lr7PdCDQ12EooD4ksxjJsTlMq8ZNN46iT55pi67CmQIgO0GO1l/FulJKVIlO+9oVygittshSUgBnd6S8fQ8AGsk="}]}},"0.3.4":{"name":"is-match","description":"Create a matching function from a glob pattern, regex, string, array, object or function.","version":"0.3.4","homepage":"https://github.com/jonschlinkert/is-match","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/is-match.git"},"bugs":{"url":"https://github.com/jonschlinkert/is-match/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"deep-equal":"^1.0.0","is-extendable":"^0.1.1","is-glob":"^2.0.0","micromatch":"^2.2.0"},"devDependencies":{"mocha":"*","should":"*"},"keywords":["any","array","contains","expression","function","glob","has","match","matcher","matches","matching","minimatch","multimatch","object","pattern","patterns","regex","regexp","regular","value","where","wildcard"],"verb":{"related":{"list":["micromatch","is-glob"]}},"gitHead":"beb20d36c6966729e93ceb0c1f74e9a222f65362","_id":"is-match@0.3.4","_shasum":"6c8f18d8ed98051e139abd13d522ad295e14c2dc","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"6c8f18d8ed98051e139abd13d522ad295e14c2dc","tarball":"https://registry.npmjs.org/is-match/-/is-match-0.3.4.tgz","integrity":"sha512-QUX0ylmP0PLEGFHTICgiRpK5MGbW3YQhPwoQP7TQj8OYnm2K9+o89XC9P/Sk4XZ7WWRXRBXu5/EfQjOPrUXVog==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQClSyaDDtGkmbmEhvpPAnU3M7Weh5eDb56RgBLNIO9m2AIhAItqkiwarm45UH8EBJzfEjJynYmZfdBhXerTxCGLD8ld"}]}},"0.4.0":{"name":"is-match","description":"Create a matching function from a glob pattern, regex, string, array, object or function.","version":"0.4.0","homepage":"https://github.com/jonschlinkert/is-match","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/is-match.git"},"bugs":{"url":"https://github.com/jonschlinkert/is-match/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"deep-equal":"^1.0.1","is-extendable":"^0.1.1","is-glob":"^2.0.0","micromatch":"^2.2.0"},"devDependencies":{"mocha":"*"},"keywords":["any","array","contains","expression","function","glob","has","match","matcher","matches","matching","minimatch","multimatch","object","pattern","patterns","regex","regexp","regular","value","where","wildcard"],"verb":{"related":{"list":["micromatch","has-glob","is-glob"]}},"gitHead":"beb20d36c6966729e93ceb0c1f74e9a222f65362","_id":"is-match@0.4.0","_shasum":"02f91edf33f160ac7d0e4854093d8c9a11b82a3f","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"02f91edf33f160ac7d0e4854093d8c9a11b82a3f","tarball":"https://registry.npmjs.org/is-match/-/is-match-0.4.0.tgz","integrity":"sha512-wM3fo6geu4o/WX18cv1xULRQqSFFNiVdPkeWTbcTKkQN7RQXy+Dp7YFVeziTETTHZ3wTI4jOm/EkU2ORCYrmeg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDLdg4pggBSBIEHUxnFgCPevYtANaClI9VzE19plWYBDgIhAO6rXAsEZ4RXNBzt3l18AAH91GWXHnPOtuemFY1S0/td"}]}},"0.4.1":{"name":"is-match","description":"Create a matching function from a glob pattern, regex, string, array, object or function.","version":"0.4.1","homepage":"https://github.com/jonschlinkert/is-match","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/is-match.git"},"bugs":{"url":"https://github.com/jonschlinkert/is-match/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"deep-equal":"^1.0.1","is-extendable":"^0.1.1","is-glob":"^2.0.1","micromatch":"^2.3.7"},"devDependencies":{"mocha":"^2.4.5"},"keywords":["any","array","contains","expression","function","glob","has","match","matcher","matches","matching","minimatch","multimatch","object","pattern","patterns","regex","regexp","regular","value","where","wildcard"],"verb":{"related":{"list":["has-glob","is-glob","micromatch"]},"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"lint":{"reflinks":true},"reflinks":["verb"]},"gitHead":"2ebee38a12764f349ca7e34ce8cccd1eedda5a36","_id":"is-match@0.4.1","_shasum":"fb5f6c6709a1543b7c7efa7d9530e5b776f61f83","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.5.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"fb5f6c6709a1543b7c7efa7d9530e5b776f61f83","tarball":"https://registry.npmjs.org/is-match/-/is-match-0.4.1.tgz","integrity":"sha512-Ds3ju1fPePDIfT9guPIaacKD2f0l6SCiY6hfQg6pDqcernEFCyGfyJaB5CPKHxE7qxc2Igd/5QdSNCYFHFhKow==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFSvNc7oMBHRoi0bBAu7BBp0tssBmRIIqCzorj9DEH0mAiARCRZiyx4D5jzqyuLJebA9Bt6IXmvQAcvO4oQz4CPcfA=="}]},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/is-match-0.4.1.tgz_1461204618315_0.9501453924458474"}},"1.0.0":{"name":"is-match","description":"Create a matching function from a glob pattern, regex, string, array, object or function.","version":"1.0.0","homepage":"https://github.com/jonschlinkert/is-match","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"contributors":[{"name":"Charlike Mike Reagent","url":"https://i.am.charlike.online"},{"name":"Jon Schlinkert","url":"http://twitter.com/jonschlinkert"}],"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/is-match.git"},"bugs":{"url":"https://github.com/jonschlinkert/is-match/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"deep-equal":"^1.0.1","is-number":"^3.0.0","kind-of":"^4.0.0","micromatch":"^3.0.3"},"devDependencies":{"gulp-format-md":"^0.1.12","mocha":"^3.4.2"},"keywords":["any","array","contains","expression","function","glob","has","is","match","matcher","matches","matching","minimatch","multimatch","object","pattern","patterns","regex","regexp","regular","value","where","wildcard"],"verb":{"related":{"list":["has-glob","is-glob","micromatch"]},"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"lint":{"reflinks":true},"reflinks":["verb"]},"gitHead":"9e23552d2fa408187af044a008d5683fa205fa45","_id":"is-match@1.0.0","_npmVersion":"5.0.3","_nodeVersion":"7.7.3","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"integrity":"sha512-wcQoj6Q1jdAYh9MhOoXVScKgbZUv6jg6cgjYEyF/AlVodK4Hw4S7BvdNaXSZiDEMICS72khvuM50GjEpKP29vw==","shasum":"5c17c3395c5e040ce8ee99110a39c16f8f7966e4","tarball":"https://registry.npmjs.org/is-match/-/is-match-1.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF92OT6poEwcKrGdlxiWqjeRqC4Lb6QgSZoIcWFY2nJxAiBU7eUpZC67KNrlEmTUuClFxXW2vC/d0PUY71yt7agLfQ=="}]},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-match-1.0.0.tgz_1497751587292_0.5033226367086172"}}},"readme":"# is-match [![NPM version](https://img.shields.io/npm/v/is-match.svg?style=flat)](https://www.npmjs.com/package/is-match) [![NPM monthly downloads](https://img.shields.io/npm/dm/is-match.svg?style=flat)](https://npmjs.org/package/is-match) [![NPM total downloads](https://img.shields.io/npm/dt/is-match.svg?style=flat)](https://npmjs.org/package/is-match) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/is-match.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/is-match)\n\n> Create a matching function from a glob pattern, regex, string, array, object or function.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save is-match\n```\n\n## Heads up!\n\nSee the [release history](#release-history) to learn about breaking changes in the [v1.0.0 release](https://github.com/jonschlinkert/is-match/releases/tag/1.0.0).\n\n## Usage\n\n```js\nvar isMatch = require('is-match');\n```\n\n### Create matchers:\n\n**from a string:**\n\n```js\nvar isMatch = matcher('a')\n\nisMatch('a');\n//=> true\n\nisMatch('b');\n//=> false\n```\n\n**from a glob pattern:**\n\n```js\nvar isMatch = matcher('*')\nisMatch('a'); //=> true\n\nvar isMatch = matcher('!b')\nisMatch('a'); //=> true\n\nvar isMatch = matcher('!b')\nisMatch('b'); //=> false\n```\n\n**from an array of glob patterns:**\n\n```js\nvar isMatch = matcher(['b'])\nisMatch('a'); //=> false\n\nvar isMatch = matcher(['b', 'a'])\nisMatch('a'); //=> true\n\nvar isMatch = matcher(['b', 'c', '*'])\nisMatch('a'); //=> true\n```\n\n**from a regex:**\n\n```js\nvar isMatch = matcher(/a/);\n\nisMatch('a');\n//=> true\n\nisMatch('b');\n//=> false\n```\n\n**from a function:**\n\n```js\nvar isMatch = matcher(function  (val) {\n  return val === 'a';\n});\nisMatch('a');\n//=> true\n\nisMatch('b');\n//=> false\n```\n\n**from an object:**\n\n```js\nvar isMatch = matcher({a: 'b'});\n\nisMatch({a: 'b'}); //=> true\nisMatch({a: 'b', c: 'd'}); //=> false\nisMatch({e: 'f', c: 'd'}); //=> false\n```\n\n## Release history\n\n### v1.0.0\n\n**Potentially breaking changes**\n\n* prior to 1.0, when an array of globs was passed, `isMatch()` would return true if _any_ of the globs matched. As of 1.0, `isMatch()` only returns true when _all_ globs match.\n* now does number comparisons. there are several ways to compare numbers, I'm open to a discussion or changes if necessary.\n\n## About\n\n### Related projects\n\n* [has-glob](https://www.npmjs.com/package/has-glob): Returns `true` if an array has a glob pattern. | [homepage](https://github.com/jonschlinkert/has-glob \"Returns `true` if an array has a glob pattern.\")\n* [is-glob](https://www.npmjs.com/package/is-glob): Returns `true` if the given string looks like a glob pattern or an extglob pattern… [more](https://github.com/jonschlinkert/is-glob) | [homepage](https://github.com/jonschlinkert/is-glob \"Returns `true` if the given string looks like a glob pattern or an extglob pattern. This makes it easy to create code that only uses external modules like node-glob when necessary, resulting in much faster code execution and initialization time, and a bet\")\n* [micromatch](https://www.npmjs.com/package/micromatch): Glob matching for javascript/node.js. A drop-in replacement and faster alternative to minimatch and multimatch. | [homepage](https://github.com/micromatch/micromatch \"Glob matching for javascript/node.js. A drop-in replacement and faster alternative to minimatch and multimatch.\")\n\n### Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\n### Contributors\n\n| **Commits** | **Contributor** | \n| --- | --- |\n| 23 | [jonschlinkert](https://github.com/jonschlinkert) |\n| 8 | [tunnckoCore](https://github.com/tunnckoCore) |\n\n### Building docs\n\n_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_\n\nTo generate the readme, run the following command:\n\n```sh\n$ npm install -g verbose/verb#dev verb-generate-readme && verb\n```\n\n### Running tests\n\nRunning and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:\n\n```sh\n$ npm install && npm test\n```\n\n### Author\n\n**Jon Schlinkert**\n\n* [github/jonschlinkert](https://github.com/jonschlinkert)\n* [twitter/jonschlinkert](https://twitter.com/jonschlinkert)\n\n### License\n\nCopyright © 2017, [Jon Schlinkert](https://github.com/jonschlinkert).\nReleased under the [MIT License](LICENSE).\n\n***\n\n_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on June 17, 2017._","maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"time":{"modified":"2022-06-19T02:45:15.133Z","created":"2015-02-03T06:15:55.195Z","0.1.0":"2015-02-03T06:15:55.195Z","0.2.0":"2015-05-05T01:06:19.083Z","0.3.0":"2015-06-19T01:24:33.873Z","0.3.1":"2015-06-19T01:36:39.607Z","0.3.2":"2015-06-19T01:43:39.680Z","0.3.3":"2015-06-19T01:59:46.948Z","0.3.4":"2015-08-01T04:53:15.041Z","0.3.5":"2015-09-08T05:44:34.288Z","0.4.0":"2015-09-08T05:45:00.839Z","0.4.1":"2016-04-21T02:10:19.717Z","1.0.0":"2017-06-18T02:06:28.251Z"},"homepage":"https://github.com/jonschlinkert/is-match","keywords":["any","array","contains","expression","function","glob","has","is","match","matcher","matches","matching","minimatch","multimatch","object","pattern","patterns","regex","regexp","regular","value","where","wildcard"],"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/is-match.git"},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"bugs":{"url":"https://github.com/jonschlinkert/is-match/issues"},"license":"MIT","readmeFilename":"README.md","contributors":[{"name":"Charlike Mike Reagent","url":"https://i.am.charlike.online"},{"name":"Jon Schlinkert","url":"http://twitter.com/jonschlinkert"}]}