glob-array

Simple wrapper for node-glob that allows you to pass in an array of patterns

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
glob-array
711.0.06 years ago9 years agoMinified + gzip package size for glob-array in KB

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