1.0.0 • Published 8 years ago

glob-flat v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

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']