# minimatch-all

> Match a path against multiple patterns

Latest version **1.1.0** (published 2016-08-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install minimatch-all
pnpm add minimatch-all
yarn add minimatch-all
bun add minimatch-all
```

## Health

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

Positive: has types package; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2016-08-30 |
| First published | 2014-09-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | separate (@types/minimatch-all) |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | joshwnj |
| Maintainers | joshwnj |
| Keywords | minimatch |

## Links

- npm: https://www.npmjs.com/package/minimatch-all
- Repository: https://github.com/joshwnj/minimatch-all
- Issues: https://github.com/joshwnj/minimatch-all/issues
- npm.io page: https://npm.io/package/minimatch-all

## Dependencies (1)

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

## Recent versions

- 1.1.0 (latest) — 2016-08-30
- 1.0.2 — 2014-09-26
- 1.0.1 — 2014-09-26
- 1.0.0 — 2014-09-26

## README

minimatch-all
====

[![Build Status](https://secure.travis-ci.org/joshwnj/minimatch-all.png)](http://travis-ci.org/joshwnj/minimatch-all)

`minimatch` a path against multiple patterns.

Install
----

`npm install minimatch-all`

Usage
----

```js
var minimatchAll = require('minimatch-all');

// minimatch options (see <https://www.npmjs.org/package/minimatch> for details)
var opts = {};

var patterns = [
  // match all js files
  '**/*.js',

  // except for js files in the foo/ directory
  '!foo/*.js',

  // unless it's foo/bar.js
  'foo/bar.js',
];

minimatchAll('foo/foo.js', patterns, opts);
// false

minimatchAll('foo/bar.js', patterns, opts);
// true
```

License
----

MIT

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