Introducing npm Enterprise add-ons. Integrate third-party dev tools into npm…
Check whether two file globs intersect
A function that tells you whether two file globs intersect.
var m = require('glob-intersect'); console.log(m('test/**/*.js', 'test/x/*')); // true;
Currently supports: star, double-star
Not yet supported: questionmarks (file?.js) and character groups (x[abcd])
What happens when npm’s amazing community gets together to share with one another? Buy a ticket »
how? learn more