Simple wrapper for node-glob that allows you to pass in an array of patterns.
var patterns = [
'pattern1',
'pattern2'
];
var globOptions = {
/* any regular node-glob option */
};
//async
globArray(patterns, globOptions, function (er, files) {
// your code
});
//sync
var files = globArray.sync(patterns, globOptions);
MIT