readdirp-walk

An optimized readdirp-compliant directory walker that gives you control over concurrency and performance tradeoffs


Keywords
recursive, fs, readdir, filesystem, stream, streams, find, filter, readdirp, walk, walk-filtered
License
MIT
Install
npm install readdirp-walk@1.7.0

Documentation

readdirp-walk

This is a standin replacement for readdirp. See readdirp documentation for API details.

This was written to allow control over the concurrency of scanning to strike a balance between speed and memory.

If you are looking for even more performance and to roll your own scanning algorithm, try fs-iterator which this library uses for scanning.

Aditional Options

  • number: concurrency - option to set the maximum number of concurrent fs operations to strike a balance between speed and memory. (default: based on performance benchmarking).