ember-legacy-class-transform
Version:
The default blueprint for ember-cli addons.
27 lines (18 loc) • 558 B
Markdown
Minimatch but for collections of minimatcher matchers.
```sh
npm install matcher-collection
```
```js
const MatcherCollection = require('matcher-collection')
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
```