1.0.0 • Published 8 years ago
glob-flat v1.0.0
glob-flat
Return glob applied, flattened and duplicate filtered version of the given list of filenames
Install
$ npm install glob-flat
Usage
flatGlob = require('glob-flat')
flatGlob.sync(['foo.js', 'styles/**/*.css', 'templates/index.html', 'templates/**/*.html'])
// => ['foo.js', 'styles/a.css', 'styles/b.css', 'templates/index.html', 'templates/foo.html', 'templates/bar.html']
1.0.0
8 years ago