# multiple-glob

> Match files with array of patterns.

Latest version **0.0.3** (published 2015-01-29) · public domain license · 0 weekly downloads

## Install

```sh
npm install multiple-glob
pnpm add multiple-glob
yarn add multiple-glob
bun add multiple-glob
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2015-01-29 |
| First published | 2014-12-22 |
| Weekly downloads | 0 |
| License | public domain |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | sunflowerdeath |
| Maintainers | sunflowerdeath |
| Keywords | glob |

## Links

- npm: https://www.npmjs.com/package/multiple-glob
- Repository: https://github.com/sunflowerdeath/multiple-glob
- Issues: https://github.com/sunflowerdeath/multiple-glob/issues
- npm.io page: https://npm.io/package/multiple-glob

## Dependencies (3)

- [q](https://npm.io/package/q.md) ^1.1.2
- [glob](https://npm.io/package/glob.md) ^4.0.5
- [underscore](https://npm.io/package/underscore.md) ^1.7.0

## Recent versions

- 0.0.3 (latest) — 2015-01-29
- 0.0.2 — 2014-12-25
- 0.0.1 — 2014-12-22
- 0.0.0 — 2014-12-22

## README

# multiple-glob

Match files using [node-glob](https://github.com/isaacs/node-glob) but with array of patterns.

## Install

```
npm install multiple-glob
```

## Usage

```js
var multiglob = require('multiple-glob')

multiglob(['**/*.js', '!node/**', '**/*.css'], function(err, files) {
  console.log('Yay!')
})
```

##API

### multiglob(patterns, options, callback)

Match files with array of patterns and combines results.

Patterns that begin with `!` will exclude files.
Patterns are processed in order, so inclusion and exclusion order is significant.

#### patterns

Type: `array`

List of patterns.

#### options

Type: `object`

Options for glob.

#### callback

Type: `function` 

### multiglob.sync(pattern, options)

Synchronous version.

## License

Public domain, see the `LICENCE.md` file.

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