# sindresorhus/globby

User-friendly glob matching

Repository: https://github.com/sindresorhus/globby
Canonical: https://ross.abutalabs.com/products/globby
Language: JavaScript
License: MIT
License Family: permissive
Topics: javascript, glob, nodejs, patterns, matching, files, directories, globbing
Last push: 2026-08-19T17:04:33+00:00

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

## Adoption (not part of the score)
Stars 2650, forks 139 (observed 2026-08-28T04:07:06.993201+00:00)

## What it is
A Node.js library providing user-friendly glob matching for files and directories, built on fast-glob with a Promise API. It adds conveniences like multiple and negated patterns, directory expansion, and .gitignore support.

## Use cases
- find files matching glob patterns in nodejs
- exclude files from glob results with negated patterns
- respect .gitignore when listing project files
- expand a directory path to all files inside it
- match multiple wildcard patterns at once
- get a promise-based list of matching file paths

## When to choose
- you need glob file matching in Node.js with a clean Promise API
- you want .gitignore-aware file discovery
- you need multiple patterns with negation in one call

## When to avoid
- you need synchronous-only matching without promises
- you are not in a Node.js environment
- you need extremely fine-grained control that fast-glob exposes directly

## Facets
- artifact type: library
- maturity: stable
- function: file-system, parser, developer-tools
- domain: developer-tools, files
- platform: cross-platform
- tags: glob, globbing, wildcard-matching, gitignore, promise-api, fast-glob, file-matching, command-line, nodejs

## Member repositories
- sindresorhus/globby (main) score 94

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:06.993201+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-30T02:18:53.812716+00:00, confidence not recorded.
  - readme: https://github.com/sindresorhus/globby (fetched 2026-08-28T04:07:06.993201+00:00, sha ce8924c5b1ad)
  - registry_npm: https://registry.npmjs.org/globby (fetched 2026-08-29T10:01:53.403274+00:00, sha c84ce361fe86)
- Data as of 2026-08-30T08:39:29.467469+00:00.
