</>PackageGraphPackageGraph

fast-glob

npmv3.3.3TypeScript

It'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.

5
Direct dependencies

Runtime packages this one declares itself.

7
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

117 KB
Install size

Unpacked size of this package plus its entire runtime tree.

3
Tree depth

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

ISCMIT

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.

PackageWeekly downloadsDependentsLicenseLast release
fast-globthis page135.1M8MIT1 year ago
tinyglobby08MIT1 day ago
is-glob137.4M3MIT1 day ago
fastq122.5M1ISC1 day ago
reusify91M1MIT1 day ago
fflate53.5M1MIT1 day ago

Dependencies

Declared by fast-glob v3.3.3. Runtime dependencies are installed with the package; dev dependencies are not.

Runtime (5)

@nodelib/fs.stat ^2.0.2@nodelib/fs.walk ^1.2.3glob-parent ^5.1.2merge2 ^1.3.0micromatch ^4.0.8

Dev (21)

@nodelib/fs.macchiato ^1.0.1@types/glob-parent ^5.1.0@types/merge2 ^1.1.4@types/micromatch ^4.0.0@types/mocha ^5.2.7@types/node ^14.18.53@types/picomatch ^2.3.0@types/sinon ^7.5.0bencho ^0.1.1eslint ^6.5.1eslint-config-mrmlnc ^1.1.0execa ^7.1.1fast-glob ^3.0.4fdir 6.0.1glob ^10.0.0hereby ^1.8.1mocha ^6.2.1rimraf ^5.0.0sinon ^7.5.0snap-shot-it ^7.9.10typescript ^4.9.5

Used by

Popular packages that depend on fast-glob.

Relationship graph

Dependencies (left) and dependents (right) of fast-glob.

Frequently installed together

Release history

1 release in the last two years, typically about 11 days apart.

Recent versions of fast-glob
VersionPublishedSizeLicense
3.3.3latest1 year ago96 KBMIT
3.3.22 years ago94 KBMIT
3.3.13 years ago94 KBMIT
3.3.03 years ago95 KBMIT
3.2.124 years ago90 KBMIT
3.2.114 years ago87 KBMIT
3.2.104 years ago86 KBMIT
3.2.94 years ago86 KBMIT
3.2.84 years ago86 KBMIT
3.2.75 years ago85 KBMIT
3.2.65 years ago86 KBMIT
3.2.55 years ago83 KBMIT
3.2.46 years ago83 KBMIT
3.2.36 years ago82 KBMIT
3.2.26 years ago80 KBMIT

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.