# matcher-collection

> Minimatch but for collections of minimatcher matchers.

Latest version **2.0.1** (published 2019-10-28) · ISC license · 0 weekly downloads

## Install

```sh
npm install matcher-collection
pnpm add matcher-collection
yarn add matcher-collection
bun add matcher-collection
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.1 |
| Published | 2019-10-28 |
| First published | 2015-09-21 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Node | 6.* \|\| 8.* \|\| >= 10.* |
| Dependencies | 2 |
| Unpacked size | 2.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Stefan Penner |
| Maintainers | stefanpenner |

## Links

- npm: https://www.npmjs.com/package/matcher-collection
- Repository: https://github.com/stefanpenner/matcher-collection
- Homepage: https://github.com/stefanpenner/matcher-collection#readme
- Issues: https://github.com/stefanpenner/matcher-collection/issues
- npm.io page: https://npm.io/package/matcher-collection

## Dependencies (2)

- [minimatch](https://npm.io/package/minimatch.md) ^3.0.2
- [@types/minimatch](https://npm.io/package/@types/minimatch.md) ^3.0.3

## Recent versions

- 2.0.1 (latest) — 2019-10-28
- 2.0.0 — 2019-03-09
- 1.1.2 — 2019-02-04
- 1.1.1 — 2019-02-03
- 1.1.0 — 2019-02-03
- 1.0.5 — 2017-09-15
- 1.0.4 — 2016-08-05
- 1.0.3 — 2016-08-05
- 1.0.2 — 2016-06-27
- 1.0.1 — 2015-11-08
- 1.0.0 — 2015-09-21

## README

# MatcherCollection [![Build Status](https://travis-ci.org/stefanpenner/matcher-collection.svg?branch=master)](https://travis-ci.org/stefanpenner/matcher-collection) [![Build status](https://ci.appveyor.com/api/projects/status/v6hubn3kltp80ugm?svg=true)](https://ci.appveyor.com/project/embercli/matcher-collection)
Minimatch but for collections of minimatcher matchers.

## Install

```sh
yarn add matcher-collection
```

## Examples

```js
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
```

---
_Source: https://npm.io/package/matcher-collection · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
