1.0.0 • Published 7 years ago

glob-array v1.0.0

Weekly downloads
5,471
License
MIT
Repository
github
Last release
7 years ago

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