Wondering what’s next for npm?Check out our public roadmap! »

expand-file-glob

0.0.1 • Public • Published

globs-to-files

Create a file array from a glob array

Usage

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], cb) -> array

***globArray

Required

Type: string

An array of globs to be expanded

options

globs-to-files uses node-glob

cb

Required

Type: function

globs-to-files uses node-glob

To Test

npm test

License

MIT

Install

npm i expand-file-glob

DownloadsWeekly Downloads

2

Version

0.0.1

License

MIT

Last publish

Collaborators

  • avatar