Back to the chart

micromatch/picomatch

Dependency-free JavaScript glob matcher

Chart
Not on a chart right now
Stars
1.3k

Open on GitHubHomepage

What it is

A lightweight JavaScript glob matching library supporting standard and extended Bash glob features. It returns a reusable matcher function for a given pattern and also exposes APIs for parsing, scanning, and compiling regular expressions.

Who it is for

JavaScript and Node.js developers building file matchers, bundlers, test runners, or file watchers.

Why it is trending

It ships with zero dependencies, loads in about 2ms, and is used by Jest, Astro, Rollup, Chokidar, and over 5 million projects. It also had a 4.0.7 release in August 2026.

Main features

  • Supports wildcards, globstars, extglobs, braces, and POSIX brackets
  • Zero dependencies with roughly 2ms load time
  • Reusable matcher functions plus parse, scan, makeRe, and toRegex APIs
  • Includes a picomatch/posix entrypoint for non-Node.js environments

Summarized on November 19, 2026 from the README and repository data. It can be wrong; check the source before relying on it. Report a wrong summary