# globs-to-files

> Expand multiple globs into file paths

Latest version **1.0.0** (published 2015-06-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install globs-to-files
pnpm add globs-to-files
yarn add globs-to-files
bun add globs-to-files
```

## 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 | 1.0.0 |
| Published | 2015-06-08 |
| First published | 2015-06-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Chinedu Francis Nwafili |
| Maintainers | chinedufn |
| Keywords | expand, file, glob, deglob |

## Links

- npm: https://www.npmjs.com/package/globs-to-files
- Repository: http://github.com/chinedufn/globs-to-files
- Homepage: https://github.com/chinedufn/globs-to-files
- Issues: https://github.com/chinedufn/globs-to-files/issues
- npm.io page: https://npm.io/package/globs-to-files

## Dependencies (4)

- [glob](https://npm.io/package/glob.md) ^5.0.10
- [xtend](https://npm.io/package/xtend.md) ^4.0.0
- [array-uniq](https://npm.io/package/array-uniq.md) ~1.0.2
- [asyncreduce](https://npm.io/package/asyncreduce.md) ~0.1.4

## Alternatives

- [unionfs](https://npm.io/package/unionfs.md) — 2.2M weekly downloads
- [path-starts-with](https://npm.io/package/path-starts-with.md) — 35.9K weekly downloads
- [redzip](https://npm.io/package/redzip.md) — 1.2K weekly downloads
- [vscode-anymatch](https://npm.io/package/vscode-anymatch.md) — 848 weekly downloads
- [@ledgerhq/coin-filecoin](https://npm.io/package/@ledgerhq/coin-filecoin.md) — 793 weekly downloads

## Recent versions

- 1.0.0 (latest) — 2015-06-08
- 0.2.1 — 2015-06-06
- 0.2.0 — 2015-06-06
- 0.1.2 — 2015-06-06
- 0.1.1 — 2015-06-05
- 0.0.1 — 2015-06-05

## README

globs-to-files [![Build Status](https://travis-ci.org/chinedufn/metalsmith-watcher.svg?branch=master)](https://travis-ci.org/chinedufn/globs-to-files)
================

> Expand multiple globs into absolute file paths

## Install

```
$ npm install --save globs-to-files
```

## Usage

```js
var deglob = require('globs-to-files')

deglob(['test/**/*.js', 'src/*.js'], null, function (err, files) {
})

var files = deglob.sync(['test/**/*.js'])
```

## API

#### `deglob(globArray, [options], callback)` -> `array[string]`

##### globArray

*Required*
Type: `array`

An array of globs to be expanded into absolute file paths.

##### options

Type: `object`  

Options to pass to [node-glob](https://github.com/isaacs/node-glob#options).

##### callback

*Required*
Type: `function`

Callback to call with file paths.

## License

MIT

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