Elestia Open Source Ratings
6.4

globby

Reasonable, with limits. 5th of 9 globs and file watching.

globby is a long-running glob wrapper over fast-glob. It adds several patterns at once, negation, directory expansion and real .gitignore support. It is well kept, but many major tools have moved to tinyglobby, which has far fewer dependencies, so globby now makes sense mainly when you need its gitignore handling.

Best for: Node CLIs and scripts that must find files while respecting .gitignore and other ignore files, without writing that logic themselves.

GitHubnpm

Scores

Overall6.4

How strongly do we recommend it for a new project today?

Claude Opus 5.5: 5.5, likely 4.5 to 6.5

It is a well-maintained, capable library, and its gitignore support remains a real reason to pick it. For plain globbing in a new project, tinyglobby does the same job with far fewer dependencies, and the ecosystem has moved to it. globby's share is shrinking fast. It is a reasonable choice with clear limits rather than the default.

GPT-6.2 Sol: 7.2, likely 6.2 to 8.3

Globby is a strong pick for Node.js tools that need to discover files using a repository’s ignore rules. For ordinary matching, tinyglobby has a smaller dependency tree, and modern Node covers many basic searches on its own. Recent fixes support choosing Globby for its specialty, while concentrated release ownership and weaker adoption growth limit the wider recommendation.

Needed by many5.8

How many developers need a tool for this job?

Claude Opus 5.5: 6.0, likely 5.0 to 7.0

Many Node build scripts, CLIs and tools need to find files by pattern. globby only finds files. It does not watch, copy or delete them, and it runs only on Node. That is a large group of developers, but not most of them.

  • category.job: The category covers finding, watching, copying and deleting files; globby only finds them
  • github.com/sindresorhus/globby: The feature set is focused on matching files

GPT-6.2 Sol: 5.5, likely 4.3 to 6.7

File discovery serves build scripts, linters, test runners, and CLIs across frameworks. Globby covers the matching part of the category, and Node’s built-in glob API covers many simple searches. State of JavaScript shows how widely developers use Node.js, but does not measure how many need a separate glob library.

Helps a lot7.5

How well does it do the job for those who need it?

Claude Opus 5.5: 7.0, likely 6.0 to 8.0

It has the richest ignore-file handling among the glob libraries, plus negation, directory expansion and stream, sync and promise APIs. The types and docs are good. The limits are a heavy dependency tree, gitignore scanning that can be slow on big repositories, and speed that is no better than fast-glob, which it is built on. tinyglobby does the common cases with far fewer dependencies.

GPT-6.2 Sol: 7.9, likely 6.8 to 8.8

The typed API, short examples, and built-in ignore-file handling make repository scans straightforward to write. Version 16 can skip ignored directories during traversal, and recent patches fixed several ignore-rule edge cases. Windows pattern handling takes care, and benchmark results vary by pattern and workload.

Holds up over time6.3

Will it still be a good choice in two years?

Claude Opus 5.5: 6.0, likely 5.0 to 7.0

There were 7 releases and 17 commits in the last year, with 1 open issue and no open pull requests. That shows careful upkeep by a maintainer who is funded through sponsorship. The risks are that one person can release it, that it depends on fast-glob, whose last release was in January 2025, and that the wider ecosystem is moving to tinyglobby. Majors arrive about once a year and sometimes change behaviour.

GPT-6.2 Sol: 6.5, likely 5.3 to 7.6

Seven releases and 17 commits in the past year show ongoing maintenance, with a July regression fix merged and shipped the same day. The maintainer has community sponsorship, and one npm account handles releases. Version 16 changed which ignore rules apply, and Stylelint’s switch to tinyglobby adds uncertainty about future adoption.

Used widely6.5

How many use it, and is that growing?

Claude Opus 5.5: 6.0, likely 5.0 to 7.0

Downloads are large at 453M per 4 weeks, and 3.7M dependent repositories put it among the most widely depended-on packages. But its year-over-year ratio is about 1.56, against a median of 4.1, so it is clearly losing ground. tinyglobby went from 152M to 1.18B over the same year. Much of globby's use comes from old dependency trees spread across ten major versions.

  • npm downloadsLast4Weeks: 453M now against 291M a year ago, a ratio of about 1.56
  • medianDownloadsRatio: The median is 4.1, so globby is losing share
  • dependents repos: 3.77M repositories and 13k packages depend on it
  • peers tinyglobby downloads: tinyglobby grew about 7.8 times in a year
  • bluesky posts: Only 1 post links to the repository, so little current attention

GPT-6.2 Sol: 6.9, likely 5.6 to 8.1

Ecosyste.ms found 3.77 million dependent repositories, the highest available count in the bundle, and about 13,100 dependent npm packages. Downstream tools such as del account for some installs, so the number of projects choosing Globby directly remains uncertain. Downloads rose from 291 million to 453 million, or 1.56×, below the catalog median of 4.1× and tinyglobby’s 7.81×.

  • dependents: Ecosyste.ms found 3,765,491 repositories and 13,076 npm packages.
  • npm.downloadsLast4Weeks: 452,969,217 downloads in the latest four weeks.
  • npm.downloadsSame4WeeksYearAgo: 291,124,969 downloads in the comparable period.
  • medianDownloadsRatio: The catalog median grew 4.1×.
  • peers: Tinyglobby grew 7.81× and drew nine Bluesky posts. Globby drew one.
  • github.stars: 2,661 stars, close to fast-glob and below glob.
  • raw.githubusercontent.com/sindresorhus/del/main/package.json: Installing del also brings in Globby.
Vouched for5.9

Who stands behind it being good?

Claude Opus 5.5: 5.0, likely 4.0 to 6.0

Linters, CLIs and other projects have used it in production for years. The signal is fading: well-known tools such as tsup, Vite and copy-webpack-plugin now advertise moving to tinyglobby. There are no independent benchmarks or survey data that favour globby today.

GPT-6.2 Sol: 6.8, likely 5.6 to 7.9

markdownlint-cli2 and SAP’s UI5 MCP server list Globby 16.2.4 as a runtime dependency. Stylelint’s migration confirms the value of Globby’s ignore-file handling and shows that a major user chose a smaller dependency tree. Independent comparisons cover individual workloads, and recent Globby-specific satisfaction data is scarce.

Safe6.1

How safe is it to depend on?

Claude Opus 5.5: 6.0, likely 5.0 to 7.0

It has no known advisories and an MIT licence. Its OpenSSF Scorecard score is low at 3.4, with no code review, no branch protection and unpinned dependencies. It pulls in about 23 transitive packages, which widens the supply-chain surface compared with tinyglobby.

  • advisories total: 0 advisories
  • scorecard score: 3.4, with weak code-review and branch-protection checks
  • superchupu.pages.dev/blog/tinyglobby-migration: 24 packages and 637KB installed, against 3 packages for tinyglobby
  • npm dependencies: 7 direct dependencies

GPT-6.2 Sol: 6.2, likely 5.1 to 7.4

Globby uses MIT, and OSV lists zero direct advisories. Its seven runtime dependencies widen the supply-chain exposure, although GitHub withdrew the recent advisory for the transitive `braces` package. OpenSSF scored it 3.4, with zeroes for code review, branch protection, and workflow token permissions. One account appears to publish releases, and npm publishing provenance remains unverified.

Good

  • Built-in .gitignore and ignore-file support that follows Git's lookup up to the repository root (since v16).
  • Promise, sync and stream APIs, with several patterns, negation-only patterns and directory expansion.
  • Steady patch releases in 2026 fix gitignore edge cases, and almost no issues or pull requests are open.
  • It ships its own TypeScript types, has an MIT licence and has no known advisories.

Bad

  • It pulls in about 23 transitive packages through fast-glob and micromatch, against 2 for tinyglobby.
  • It is ESM-only and needs Node 20 or later, and recent major versions changed behaviour (v16 changed how it finds .gitignore files).
  • Its downloads grow much more slowly than its peers' as Vite, Angular, SvelteKit, pnpm and others switch to tinyglobby.
  • gitignore: true can be slow on large trees, and a long-standing performance issue is still discussed.

The numbers

npm downloads, 4 weeks
453M +56% in a year
GitHub stars
2.7k
Commits, 12 months
17
npm version
16.2.4 Aug 2026
Versions, 12 months
7
Advisories, 24 months
0 of 0 ever
OpenSSF Scorecard
3.4 out of 10, Nov 2026
Licence
MIT

Read on 21 November 2026 from GitHub (sindresorhus/globby), npm (globby), OSV and the OpenSSF Scorecard.

Globs and file watching

  1. 8.1tinyglobby
  2. 7.9chokidar
  3. 7.0glob
  4. 7.0@parcel/watcher
  5. 6.4globby
  6. 6.3del
  7. 6.3rimraf
  8. 6.1fast-glob
  9. 6.1fs-extra
Compare all 9 on six scores