GitShow/sindresorhus/matcher
sindresorhus

matcher

Simple wildcard matching

by sindresorhus
Star on GitHubForknpm

JavaScript

542 stars31 forks12 contributorsQuiet · 9mo agoSince 2016v6.0.0MIT

Meet the team

See all 12 on GitHub →
sindresorhus
sindresorhus35 contributions
valango
valango2 contributions
atjn
atjn1 contribution
haltcase
haltcase1 contribution
delucis
delucis1 contribution
coreyfarrell
coreyfarrell1 contribution
daveseco7
daveseco71 contribution
BendingBender
BendingBender1 contribution

Languages

View on GitHub →
JavaScript100%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

4 of 6 standards met

Community profile →
85
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template

Recent fixes

View closed PRs →
ranilian
Bug on matcher.isMatch(['foo', 'bar'], ['a*', 'b*']); //=> trueClosedIssue

matcher.isMatch(['foo', 'bar'], ['a', 'b']); //=> true This seems to actually return false on the latest version: 4.0.0 Shouldn't it return true as suggested by the documentation?

ranilian · 9mo ago
manchuck
Option to match any pattern in `isMatch`ClosedIssue

I'm using this package to match CORS origin domains. I was going insane debugging why the origin was not being returned when I found the issue appears to happen when you have multiple allowed domains. Note that when using matcher, I get back a proper result I am working around this by checking to see if the array is empty or not

manchuck · 9mo ago
tommy-mitchell
Allow arbitrary negation locations?ClosedIssue

supports wildcards and negations like this: I'm trying to implement the same syntax in one of my own CLIs. Is this something could support?

tommy-mitchell · 9mo ago
Structured data for AI agents

Repository: sindresorhus/matcher. Description: Simple wildcard matching Stars: 542, Forks: 31. Primary language: JavaScript. Languages: JavaScript (100%). License: MIT. Latest release: v6.0.0 (9mo ago). Open PRs: 0, open issues: 0. Last activity: 9mo ago. Community health: 85%. Top contributors: sindresorhus, valango, atjn, haltcase, delucis, coreyfarrell, daveseco7, BendingBender, aretecode, luftywiranda13 and others.

·@ofershap

Replace github.com with gitshow.dev