fast-glob
npmv3.3.3TypeScriptIt's a very fast and efficient glob library for Node.js
Adopt with care
fast-glob is usable, with caveats. Last published 612 days ago.
- AAdoption: grade A, Excellent.
135.1M downloads per week and 8 known dependents.
- CMaintenance: grade C, Fair — worth a look.
Last published 612 days ago.
- BWeight: grade B, Good.
Pulls in 7 transitive packages, about 117 KB installed (at least — some of the tree is still being crawled).
- BSupply chain: grade B, Good.
This package has a single maintainer (bus factor of 1).
- ALicense: grade A, Excellent.
MIT — permissive, with no copyleft found in the dependency tree.
Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.
Install cost
What you actually take on by adding fast-glob to a project.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Unpacked size of this package plus its entire runtime tree.
Longest resolved dependency chain below this package.
Part of this dependency tree has not been crawled yet, so these figures are a lower bound rather than a final total.
Licenses in the dependency tree
Every license you inherit by installing fast-glob, not just its own. Check this before a legal review, not after.
Compatibility
- Node.js
- node >=8.6.0
- Module format
- CommonJS only
- TypeScript
- Types included
- Install scripts
- None
Quick start
A usage example from the fast-glob README.
fg(patterns, [options])
fg.async(patterns, [options])
fg.glob(patterns, [options])fast-glob vs the alternatives
Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.
| Package | Weekly downloads | Dependents | License | Last release |
|---|---|---|---|---|
| fast-globthis page | 135.1M | 8 | MIT | 1 year ago |
| tinyglobby | 0 | 8 | MIT | 1 day ago |
| is-glob | 137.4M | 3 | MIT | 1 day ago |
| fastq | 122.5M | 1 | ISC | 1 day ago |
| reusify | 91M | 1 | MIT | 1 day ago |
| fflate | 53.5M | 1 | MIT | 1 day ago |
Dependencies
Declared by fast-glob v3.3.3. Runtime dependencies are installed with the package; dev dependencies are not.
Runtime (5)
Dev (21)
Used by
Popular packages that depend on fast-glob.
It's a very fast and efficient glob library for Node.js
A fast and minimal alternative to globby and fast-glob
The fastest directory crawler & globbing alternative to glob, fast-glob, & tiny-glob. Crawls 1m files in < 1s
This package is part of the [React Native CLI](../../README.md). It contains commands for managing the configuration of React Native app.
This package is part of the [React Native CLI](../../README.md). It contains commands for cleaning the build artifacts.
This package is part of the [React Native CLI](../../README.md). It contains utilities for autolinking on Android platform.
Runtime typescript and ESM support for Node.js
This package is part of the [React Native CLI](../../README.md). It contains utilities for building reusable commands targeting Apple platforms.
Relationship graph
Dependencies (left) and dependents (right) of fast-glob.
Frequently installed together
No description provided.
No description provided.
TypeScript definitions for node
The tiniest and the fastest library for terminal output formatting with ANSI colors
Blazing fast and accurate glob matcher written in JavaScript, with no dependencies and full support for standard and extended Bash glob features, including braces, extglobs, POSIX brackets, and regular expressions.
the most correct and second fastest glob implementation in JavaScript
An AST-based pattern checker for JavaScript.
Prettier is an opinionated code formatter
Next generation testing framework powered by Vite
V8 coverage provider for Vitest
The fastest directory crawler & globbing alternative to glob, fast-glob, & tiny-glob. Crawls 1m files in < 1s
Escape RegExp special characters
Release history
1 release in the last two years, typically about 11 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 3.3.3latest | 1 year ago | 96 KB | MIT |
| 3.3.2 | 2 years ago | 94 KB | MIT |
| 3.3.1 | 3 years ago | 94 KB | MIT |
| 3.3.0 | 3 years ago | 95 KB | MIT |
| 3.2.12 | 4 years ago | 90 KB | MIT |
| 3.2.11 | 4 years ago | 87 KB | MIT |
| 3.2.10 | 4 years ago | 86 KB | MIT |
| 3.2.9 | 4 years ago | 86 KB | MIT |
| 3.2.8 | 4 years ago | 86 KB | MIT |
| 3.2.7 | 5 years ago | 85 KB | MIT |
| 3.2.6 | 5 years ago | 86 KB | MIT |
| 3.2.5 | 5 years ago | 83 KB | MIT |
| 3.2.4 | 6 years ago | 83 KB | MIT |
| 3.2.3 | 6 years ago | 82 KB | MIT |
| 3.2.2 | 6 years ago | 80 KB | MIT |
Overview
fast-glob is an npm package that it's a very fast and efficient glob library for Node.js. It is extremely widely used, with about 135.1M downloads per week and 8 known dependents in the graph. The latest version is 3.3.3, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need it's a very fast and efficient glob library for Node.js and value a battle-tested, widely-adopted solution.
When not to use it
Consider an alternative if you need to minimize your dependency tree, or if a more actively-maintained option better fits your npm stack.
Pros
- Large, well-established user base (135.1M weekly downloads).
- Ships TypeScript type definitions.
- Clear open-source license (MIT).
Cons
- Large dependency tree (26 direct dependencies) increases install size and audit surface.
Auto-generated from collected registry metadata. No external claims are inferred.
Maintainers
Keywords
Frequently asked questions
Should I use fast-glob?
fast-glob is usable, with caveats. Last published 612 days ago.
How do I install fast-glob?
Run `npm install fast-glob` to add fast-glob to your npm project.
How many dependencies does fast-glob have?
fast-glob declares 26 direct dependencies and pulls in 7 packages in total once its runtime tree is resolved totalling about 117 KB on disk.
What license is fast-glob released under?
fast-glob is distributed under the MIT license. Its dependency tree also includes: ISC, MIT.
How popular is fast-glob?
fast-glob has approximately 135,082,800 downloads per week and 8 known dependent packages.
Is fast-glob still maintained?
The most recent release of fast-glob (v3.3.3) was published 1 year ago.
Does fast-glob run install scripts?
No. fast-glob does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.