glob-intersect

Check whether two file globs intersect

2 个版本
安装
npm install glob-intersect
yarn add glob-intersect
pnpm add glob-intersect
bun add glob-intersect
README

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

版本列表
0.0.2 2014-01-17
0.0.1 2014-01-17