glob-intersect
Check whether two file globs intersect
Last updated 12 years ago by spion .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install glob-intersect 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.0.2                                ...           latest (12 years ago)

2 Versions

  • 0.0.2                                ...           12 years ago
  • 0.0.1                                ...           12 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 1
Last Month 1
Dependencies (1)
Dev Dependencies (0)
None
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |