You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
2 weeks ago | |
|---|---|---|
| .. | ||
| lib | 2 weeks ago | |
| CHANGELOG.md | 2 weeks ago | |
| LICENSE | 2 weeks ago | |
| README.md | 2 weeks ago | |
| package.json | 2 weeks ago | |
README.md
cspell-glob
A simple library for checking filenames against a set of glob rules. It attempts to emulate the .gitignore rules.
Purpose
The purpose behind this library is a bit different than the other glob matchers. The goal here is to see if a file name matches a glob, not to find files that match globs. This library doesn't do any file i/o. It uses micromatch under the hood for the actual matching.
Usage
const cspellGlob = require('cspell-glob');
// TODO: DEMONSTRATE API