readdirp is a Node.js utility that recursively reads a directory, similar to fs.readdir, but exposes a stream API and a promise API. It’s useful for efficiently iterating over files and subdirectories with a small RAM and CPU footprint, with options for filtering, recursion depth, and optional stat collection.
Project status
- Actively maintained based on recent tagged updates, with the last upstream push on 2026-05-09 and multiple published updates in 2025.
- Update cadence appears uneven but ongoing, with releases in 2025-11-25, 2025-02-14, 2025-01-11, and at least one activity signal in 2026-05-09.
AI summary generated Today
Recent updates
5.0.0
6 months agoRelease 5.0.0 makes the package ESM-only and raises the minimum supported Node.js version to v20.19. It also switches TypeScript compilation to use the jsbt default configuration (which the release notes describe as isolatedDeclaration-based types for docs).
BreakingSecurity4.1.2
2/14/2025Release 4.1.2 primarily addresses a stream issue, where the readable stream could become broken when a normal flow error occurs. The code change adjusts how the stream handles falsy entries during batching, and the tests were expanded to cover additional ENOENT warning behavior.
4.1.1
1/11/2025Release 4.1.1 is primarily a packaging fix. It updates the root package.json module type handling and adjusts test/workflow wiring to match the new test location.