Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript. Learn more »

glob-intersect

0.0.2 • Public • Published

glob-intersect

A function that tells you whether two file globs intersect.

Example

var m = require('glob-intersect');
 
console.log(m('test/**/*.js', 'test/x/*'));
 
// true;

TODO

Currently supports: star, double-star

Not yet supported: questionmarks (file?.js) and character groups (x[abcd])

license

MIT

Keywords

none

install

npm i glob-intersect

Downloadsweekly downloads

4

version

0.0.2

license

none

last publish

collaborators

  • avatar
Report a vulnerability