glob
npmv13.0.6TypeScriptthe most correct and second fastest glob implementation in JavaScript
Adopt with care
glob is usable, with caveats.
- ?Adoption: grade ?, Not reported by this registry.
No download data reported for this package yet.
- BMaintenance: grade B, Good.
Last published 202 days ago. 13 releases in the last 2 years.
- BWeight: grade B, Good.
Pulls in 6 transitive packages, about 2.6 MB 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.
BlueOak-1.0.0 — 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 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 glob, not just its own. Check this before a legal review, not after.
Compatibility
- Node.js
- node 18 || 20 || >=22
- Module format
- ESM + CommonJS
- TypeScript
- Types included
- Install scripts
- None
Quick start
A usage example from the glob README.
// load using import
import { glob, globSync, globStream, globStreamSync, Glob } from 'glob'
// or using commonjs, that's fine, too
const {
glob,
globSync,
globStream,
globStreamSync,
Glob,
} = require('glob')
// the main glob() and globSync() resolve/return array of filenames
// all js files, but don't look in node_modulesDependencies
Declared by glob v13.0.6. Runtime dependencies are installed with the package; dev dependencies are not.
Runtime (3)
Dev (9)
Used by
Popular packages that depend on glob.
An AST-based pattern checker for JavaScript.
It's a very fast and efficient glob library for Node.js
Reactive Extensions for modern JavaScript
Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.
ECMAScript parsing infrastructure for multipurpose analysis
Jest's reporters
Predictable state container for JavaScript apps
Drizzle ORM package for SQL databases
A library for interacting with the app.json
Mongoose MongoDB ODM
Wrapper around libsass
test for inclusion or exclusion of paths using globs
Native Abstractions for Node.js: C++ header for Node 0.8 -> 26 compatibility
A Metro config for running React Native projects with the Metro bundler
A library for Expo config plugins
The Expo CLI
Error overlay for universal Expo apps.
A library to generate a fingerprint from a React Native project
get dimensions of any image file
Info about your dev environment for debugging purposes
Parse sass files and extract a graph of imports
A tokenzier for Sass' SCSS syntax
An easy-to-use wildcard globbing library.
A querystring parser that supports nesting and arrays, with a depth limit
Relationship graph
Dependencies (left) and dependents (right) of glob.
Frequently installed together
TypeScript definitions for node
The Expo SDK
The semantic version parser used by npm.
Lightweight debugging utility for Node.js and the browser
Get and typecast environment variables.
A Promise-based interface into processes created by child_process.spawn
A module for reading, writing, and manipulating JSON files
Reusable require and Node resolution utilities library for Expo
Resolve the path of a module like `require.resolve()` but from a given path
hydrate environment variables from .env files into process.env
Expo Router is a file-based router for React Native and web applications.
An AST-based pattern checker for JavaScript.
Release history
13 releases in the last two years, typically about 3 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 13.0.6latest | 6 months ago | 1.5 MB | BlueOak-1.0.0 |
| 13.0.5 | 6 months ago | 1.5 MB | BlueOak-1.0.0 |
| 13.0.4 | 6 months ago | 1.5 MB | BlueOak-1.0.0 |
| 13.0.3 | 6 months ago | 1.5 MB | BlueOak-1.0.0 |
| 13.0.2 | 7 months ago | 1.5 MB | BlueOak-1.0.0 |
| 13.0.1 | 7 months ago | 436 KB | BlueOak-1.0.0 |
| 13.0.0 | 9 months ago | 436 KB | BlueOak-1.0.0 |
| 10.5.0 | 9 months ago | 471 KB | ISC |
| 12.0.0 | 9 months ago | 473 KB | BlueOak-1.0.0 |
| 11.1.0 | 9 months ago | 473 KB | BlueOak-1.0.0 |
| 11.0.3 | 1 year ago | 464 KB | ISC |
| 11.0.2 | 1 year ago | 464 KB | ISC |
| 11.0.1 | 1 year ago | 464 KB | ISC |
| 10.4.5 | 2 years ago | 464 KB | ISC |
| 11.0.0 | 2 years ago | 464 KB | ISC |
Overview
glob is an npm package that the most correct and second fastest glob implementation in JavaScript. It has 35 known dependents in the graph. The latest version is 13.0.6, released under the BlueOak-1.0.0 license.
Who should use it
Teams working in the npm ecosystem who need the most correct and second fastest glob implementation in JavaScript and value a focused solution.
When not to use it
Consider an alternative if you need to or if a more actively-maintained option better fits your npm stack.
Pros
- Ships TypeScript type definitions.
- Clear open-source license (BlueOak-1.0.0).
Cons
- No significant drawbacks detected from available metadata.
Auto-generated from collected registry metadata. No external claims are inferred.
Maintainers
Funding
Frequently asked questions
Should I use glob?
glob is usable, with caveats.
How do I install glob?
Run `npm install glob` to add glob to your npm project.
How many dependencies does glob have?
glob declares 12 direct dependencies and pulls in 6 packages in total once its runtime tree is resolved totalling about 2.6 MB on disk.
What license is glob released under?
glob is distributed under the BlueOak-1.0.0 license. Its dependency tree also includes: BlueOak-1.0.0, MIT.
How popular is glob?
npm does not publish download counts. Within PackageGraph's crawl, 35 known packages depend on glob.
Is glob still maintained?
The most recent release of glob (v13.0.6) was published 6 months ago.
Does glob run install scripts?
No. glob does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.