glob-array
v1.0.0
Published
Simple wrapper for node-glob that allows you to pass in an array of patterns
Downloads
4,420
Readme
Glob Array
Simple wrapper for node-glob that allows you to pass in an array of patterns.
Usage
var patterns = [
'pattern1',
'pattern2'
];
var globOptions = {
/* any regular node-glob option */
};
//NOTE: currently only support and sync option
//sync
var files = globArray.sync(patterns, globOptions);
License
MIT