Name: glob-flat
Owner: 2GIS
Description: null
Created: 2016-03-23 09:20:46.0
Updated: 2016-03-23 09:29:38.0
Pushed: 2016-03-23 09:44:49.0
Homepage: null
Size: 4
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Return glob applied, flattened and duplicate filtered version of the given list of filenames
m install glob-flat
Glob = require('glob-flat')
Glob.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']