expand-file-glob
v0.0.1
Published
expand file globs into array of strings
Downloads
6
Readme
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