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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.2
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.2
    2
  • 0.0.1
    0

Package Sidebar

Install

npm i glob-intersect

Weekly Downloads

2

Version

0.0.2

License

MIT

Last publish

Collaborators

  • spion