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).