Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 349 Bytes

README.md

File metadata and controls

23 lines (17 loc) · 349 Bytes

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