Matches strings against configurable strings, globs, regular expressions, and/or functions
76
Path normalization with trailing separator preservation
Include matching
66%
100%
Exclude filtering
60%
100%
Trailing slash globs
20%
0%
Mixed separators
40%
0%
Multi-format matcher support (string/glob/regex/function)
Delegates to anymatch
100%
100%
String & glob
100%
100%
RegExp matchers
100%
100%
Predicate matchers
100%
100%
Mixed matcher array
100%
100%
Picomatch option passthrough
Option passthrough
100%
100%
Dot handling
100%
100%
Case sensitivity
100%
100%
Matcher construction
100%
100%
Boolean or returnIndex results
Direct boolean
100%
100%
Direct index
100%
100%
Curried tester
100%
100%
Curried index
100%
100%
Filter ready
75%
100%
Input validation with tolerant unsupported matcher handling
AnyMatch usage
20%
33%
Matcher TypeError
0%
0%
Test input guard
0%
0%
Tuple forwarding
25%
0%
Index option
0%
0%
Array test args forwarded to predicate matchers
Uses anymatch
40%
20%
Tuple forwarding
32%
100%
Matcher variety
70%
50%
Return index
100%
20%
Curried tester
46%
33%
Negated glob exclusions
Anymatch usage
100%
100%
Negated globs
66%
100%
Positive gating
100%
100%
Reusable predicate
100%
100%
Curried tester function for reuse
Curried creation
33%
100%
Mixed matchers
75%
100%
Return index
0%
100%
Predicate forwarding
66%
100%
Filter reuse
100%
100%
Install with Tessl CLI
npx tessl i tessl/npm-anymatch