isaacs/node-glob

glob functionality for node.js

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 20 minutes ago
Added to GitGenius on September 7th, 2026
Created on November 2nd, 2009
Open Issues & Pull Requests: 4 (+0)
GitHub issues: Enabled
Number of forks: 537
Total Stargazers: 8,714 (+0)
Total Subscribers: 86 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 4.4 hours
Mean response time: 86.0 days
90th percentile: 259.8 days
Tracked items: 36

How this project is maintained

Around half of the issues opened in the past year never receive a reply. Only 9% of issues opened in the past year have been closed. Three people close 86% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 0
New in 7 days: 0
Closed in 7 days: 0
Avg open age: N/A days
Stale 30+ days: 0
Stale 90+ days: 0

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

No label distribution available yet.

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

Glob is a file-matching library for Node.js that implements shell-style glob patterns to find files on the filesystem.

The tool solves the problem of matching files against patterns like those used in Unix shells. It implements the glob specification with correctness as a primary goal, offering both asynchronous and synchronous APIs. The library provides multiple consumption patterns: a promise-based interface, synchronous matching, async iterators, sync iterators, and stream-based approaches. It includes a `hasMagic` function to detect whether a pattern contains glob metacharacters and an `escape` function to treat glob patterns as literal strings. The tool handles platform-specific concerns like Windows path separators, allowing developers to choose between treating backslashes as escape characters or as path separators.

Developers should choose this tool if they need reliable, spec-compliant glob matching in Node.js. It suits projects that require file discovery with shell-style patterns and need flexibility in how results are consumed—whether all at once, iteratively, or via streams. The README identifies this implementation as the most correct and second fastest among JavaScript glob libraries, positioning it for use cases where correctness matters more than raw speed. The library is particularly useful when working with Windows systems, as it provides explicit options for handling path separator behavior rather than forcing a single interpretation.

The project maintains active development with regular updates addressing edge cases and platform compatibility. The codebase is written in TypeScript, providing type safety for consumers. The tool has been refined through careful attention to specification compliance, as evidenced by the emphasis on correctness in its positioning. The project separates concerns by moving the command-line interface to a separate package, keeping the core library focused on programmatic use.