minimatch-all
minimatch
a path against multiple patterns.
Install
npm install minimatch-all
Usage
var minimatchAll = ; // minimatch options (see <https://www.npmjs.org/package/minimatch> for details)var opts = {}; var patterns = // match all js files '**/*.js' // except for js files in the foo/ directory '!foo/*.js' // unless it's foo/bar.js 'foo/bar.js'; ;// false ;// true
License
MIT