MatcherCollection
Minimatch but for collections of minimatcher matchers.
Install
yarn add matcher-collection
Examples
const MatcherCollection = require('matcher-collection')
const m = new MatcherCollection([
'tests/',
'**/*.js',
]);
m.match('tests/foo.js') // => true
m.match('foo.js') // => false
m.mayContain('tests') // => true
m.mayContain('foo') // => false