npm

npm’s 2019 JavaScript ecosystem survey analysis is now available! Get your copy here »

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

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability