sindresorhus/matcher-cli

Simple wildcard matching

33

stars

9

commits

JavaScript

primary language

Sep 15, 2025

updated

README

matcher-cli

Simple wildcard matching

Useful when you want to accept loose string input and regexes/globs are too convoluted.

Install

npm install --global matcher-cli

Usage

$ matcher --help

  Usage
    $ <input> | matcher <pattern> […]

  Options
    --case-sensitive  Case-sensitive matching

  Example
    $ ls
    cli.js
    license
    package.json
    readme.md
    test.js
    $ ls | matcher '*.js' '!test.js'
    cli.js

Contributors

sindresorhus

8 commits

Richienb

1 commits

sindresorhus/matcher-cli

Simple wildcard matching

33

stars

9

commits

JavaScript

primary language

Sep 15, 2025

updated

README

matcher-cli

Simple wildcard matching

Useful when you want to accept loose string input and regexes/globs are too convoluted.

Install

npm install --global matcher-cli

Usage

$ matcher --help

  Usage
    $ <input> | matcher <pattern> […]

  Options
    --case-sensitive  Case-sensitive matching

  Example
    $ ls
    cli.js
    license
    package.json
    readme.md
    test.js
    $ ls | matcher '*.js' '!test.js'
    cli.js

Contributors

sindresorhus

8 commits

Richienb

1 commits

Languages

JavaScript

100.0%