thecodrr/fdir
⚡ The fastest directory crawler & globbing library for NodeJS. Crawls 1m files in < 1s observed · 2026-08-28
Health v2 · maintenance only
47/100
- Activity 37
- Release rhythm 30
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 39
- age_days: 2364
- days_rel: 384
- days_push: 382
- n_releases_24m: 8
Adoption not part of the score
1730 stars · 70 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
fdir is an extremely fast directory crawler and globbing library for NodeJS, capable of crawling 1 million files in under a second. It uses a builder-pattern API, has zero dependencies (globbing requires optional picomatch), and ships in under 2KB gzipped.
Use cases
- list all files in a directory tree quickly
- find files matching glob patterns in NodeJS
- build a directory tree listing
- replace glob or fast-glob for faster file walking
- crawl large file systems with millions of files
- get full paths of files recursively
When to choose
- you need the fastest possible directory traversal in NodeJS
- you want a tiny, zero-dependency file walker
- you need both sync and async crawling APIs
- you're building tooling like bundlers or linters that scan file trees
When to avoid
- you need to crawl directories outside NodeJS (browser, Python, etc.)
- you need advanced glob features beyond what picomatch provides
- you need file watching or change detection
- you need cross-platform shell-style globbing with complex brace expansion out of the box
Facets
library · maturity stable
file-system search-engine developer-tools developer-tools files performance cross-platform directory-crawler globbing file-walker builder-pattern zero-dependency command-line nodejs
3 sources
- readme: https://github.com/thecodrr/fdir · fetched 2026-08-28 · 64df71662df3
- homepage: https://thecodrr.github.io/fdir/ · fetched 2026-08-29 · 49d6e5e4fc20
- registry_npm: https://registry.npmjs.org/fdir · fetched 2026-08-29 · 9057b3a06abe
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| thecodrr/fdir | main | 47 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem