cspell-glob
TypeScript icon, indicating that this package has built-in type declarations

8.16.0 • Public • Published

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

CSpell for Enterprise

Available as part of the Tidelift Subscription.

The maintainers of cspell and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source packages you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact packages you use. Learn more.



Brought to you byStreet Side Software Logo Street Side Software

Readme

Keywords

Package Sidebar

Install

npm i cspell-glob

Weekly Downloads

760,146

Version

8.16.0

License

MIT

Unpacked Size

39.9 kB

Total Files

11

Last publish

Collaborators

  • jason-dent