# micromatch/picomatch

Blazing fast and accurate glob matcher written JavaScript, with no dependencies and full support for standard and extended Bash glob features, including braces, extglobs, POSIX brackets, and regular expressions. Used by GraphQL, Jest, Astro, Snowpack, Storybook, bulma, Serverless, fdir, Netlify, AWS Amplify, Revogrid, rollup, routify, open-wc, imba, ava, docusaurus, fast-glob, globby, chokidar, anymatch, cloudflare/miniflare, pts, and more than 5 million projects! Please follow picomatch's author: https://github.com/jonschlinkert

Repository: https://github.com/micromatch/picomatch
Canonical: https://ross.abutalabs.com/products/picomatch
Homepage: https://github.com/micromatch
Language: JavaScript
License: MIT
License Family: permissive
Topics: micromatch, match, glob, matcher, node-glob, minimatch, multimatch, globber, regex, regexp, regular-expression, glob-pattern, matching, find, fast-glob, fdir
Last push: 2026-08-25T10:03:15+00:00

## Health v2 (maintenance only)
Score: 99/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 99, longevity 100
- inputs: {"age_days": 2858, "days_push": 8, "days_rel": 9, "gap_med": 1.0, "n_releases_24m": 7}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1286, forks 130 (observed 2026-08-28T04:04:14.898151+00:00)

## What it is
Picomatch is a blazing fast, dependency-free JavaScript glob matcher supporting standard and extended Bash glob features like braces, extglobs, POSIX brackets, and regular expressions. It exposes a minimal API that compiles glob patterns into matcher functions and is used by millions of projects including Jest, GraphQL, and Astro.

## Use cases
- match file paths against glob patterns in node.js
- filter files by wildcard patterns like **/*.js
- replace minimatch with a faster glob matcher
- compile glob patterns to regular expressions
- match strings against braces and extglob patterns
- implement file watching with glob-based ignore rules

## When to choose
- you need fast, accurate glob matching with zero dependencies
- you need full support for Bash-style globs including extglobs and POSIX brackets
- you are building a file watcher, bundler, or test runner that filters paths
- you want a tiny API that compiles patterns once for repeated matching

## When to avoid
- you need to actually traverse the filesystem and list files (use fast-glob or globby instead)
- you need glob matching outside JavaScript/Node.js
- you only need simple wildcard matching and want to avoid any dependency

## Facets
- artifact type: library
- maturity: stable
- function: parser, developer-tools
- domain: developer-tools, files, web-development
- platform: cross-platform
- tags: glob-matching, pattern-matching, regex, zero-dependency, wildcard, nodejs, javascript

## Member repositories
- micromatch/picomatch (main) score 99

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:14.898151+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:56:35.503968+00:00, confidence not recorded.
  - readme: https://github.com/micromatch/picomatch (fetched 2026-08-28T04:04:14.898151+00:00, sha 1d8e568b58b8)
  - homepage: https://github.com/micromatch (fetched 2026-08-29T12:12:21.770063+00:00, sha 52bb4f5c8d2e)
  - registry_npm: https://registry.npmjs.org/picomatch (fetched 2026-08-29T12:12:21.772655+00:00, sha 1f7d52e91c92)
- Data as of 2026-08-30T08:39:29.467469+00:00.
