glob-ignore

Match files using the patterns the shell uses, like stars and stuff.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
glob-ignore
1.0.27 years ago7 years agoMinified + gzip package size for glob-ignore in KB

Readme

glob-ignore
Greenkeeper badge !NPM downloadsdownloads-imagedownloads-url !Build Statustravis-imagetravis-url !Build Statusappveyor-imageappveyor-url !Codacy Coveragecodacy-coverage-imagecodacy-coverage-url !Codacy Gradecodacy-grade-imagecodacy-grade-url !Dependenciesdependencies-imagedependencies-url !Dev-dependenciesdev-dependencies-imagedev-dependencies-url !JavaScript Style Guidejavascript-standard-imagejavascript-standard-url Match files using the patterns the shell uses, like stars and stuff.

Install

``` $ npm install --save glob-ignore ```

Usage

```js const glob = require('glob-ignore'); // same usage as node-glob glob('', function(err, res) { // async if(err) throw err; console.log(res); }); glob(''); // sync glob('', 'dir/to/filter/'); // the second arg is a filter glob('a/', 'b/', 'c/', 'd/'); // multiple patterns are allowed ```

Test and coverage

You just have to clone the repo and run ``` $ npm test $ npm run coverage ```

License

MIT © Léo Lozach