flatten-glob
Return glob applied, flattened and duplicate filtered version of the given list of filenames
Install
$ npm install flatten-glob
Usage
flatGlob = flatGlob// => ['foo.js', 'styles/a.css', 'styles/b.css', 'templates/index.html', 'templates/foo.html', 'templates/bar.html']
Testing
$ npm install -g mocha$ mocha test.js