Name Last Update
..
README.md Loading commit data...
index.js Loading commit data...
package.json Loading commit data...

README.md

MatcherCollection Build Status

Minimatch but for collections of minimatcher matchers.

Install

npm install matcher-collection

Examples

let m = new MatcherCollection([
  'tests/',
  '**/*.js',
]);

m.match('tests/foo.js') // => true
m.match('foo.js')       // => false

m.mayContain('tests') // => true
m.mayContain('foo')   // => false