Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report
Generated on May 10, 2024 via pnpm

fast-glob 3.3.2

It's a very fast and efficient glob library for Node.js
Package summary
Share
0
issues
2
licenses
16
MIT
2
ISC
Package created
28 Dec 2016
Version published
6 Nov 2023
Maintainers
1
Total deps
18
Direct deps
5
License
MIT

Issues

0
This package has no issues

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
16 Packages, Including:
@nodelib/fs.scandir@2.1.5
@nodelib/fs.stat@2.0.5
@nodelib/fs.walk@1.2.8
braces@3.0.2
fast-glob@3.3.2
fill-range@7.0.1
is-extglob@2.1.1
is-glob@4.0.3
is-number@7.0.0
merge2@1.4.1
micromatch@4.0.5
picomatch@2.3.1
queue-microtask@1.2.3
reusify@1.0.4
run-parallel@1.2.0
to-regex-range@5.0.1

ISC License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
Cannot
hold-liable
Must
include-copyright
include-license
2 Packages, Including:
fastq@1.17.1
glob-parent@5.1.2
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

5
All Dependencies CSV
β“˜ This is a list of fast-glob 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
@nodelib/fs.stat2.0.54.08 kBMIT
prod
@nodelib/fs.walk1.2.87.19 kBMIT
prod
glob-parent5.1.24.74 kBISC
prod
merge21.4.13.33 kBMIT
prod
micromatch4.0.514.09 kBMIT
prod

Visualizations

Frequently Asked Questions

What does fast-glob do?

Fast-glob is a rapid and effective glob library for Node.js. This software provides methods to traverse the file system, returning pathnames that conform to a specified set of patterns, which are based on the rules utilized by Unix Bash shell with some simplifications. The package's results are delivered in an arbitrary order, striking a balance between speed, simplicity, and effectiveness.

How do you use fast-glob?

To use Fast-glob, you typically start by installing it via the npm package manager using the following command in your terminal:

npm install fast-glob

Afterwards, you can integrate this library into your Node.js application. Here are a few examples of how Fast-glob can be used:

Asynchronous mode:

const fg = require('fast-glob');
const entries = await fg(['.editorconfig', '**/index.js'], { dot: true });
// ['.editorconfig', 'services/index.js']

Synchronous mode:

const fg = require('fast-glob');
const entries = fg.sync(['.editorconfig', '**/index.js'], { dot: true });
// ['.editorconfig', 'services/index.js']

Stream mode:

const fg = require('fast-glob');
const stream = fg.stream(['.editorconfig', '**/index.js'], { dot: true });
for await (const entry of stream) {
  console.log(entry);
  // .editorconfig
  // services/index.js
}

These examples depict different ways you can use Fast-glob to peruse through the file system.

Where are the fast-glob docs?

You can access Fast-glob's comprehensive documentation directly from the project's GitHub page. The documentation includes a highlight of the package's features, details on how to install and use the package, and information about pattern syntax used by the package. Other sections found in the documentation include the API Guide, Options, Helpers, FAQ, Benchmarks, Changelog, and License. Please visit Fast-glob GitHub Documentation for further information about the package.