A Node.js file system walker with a Readable stream interface. Extracted from fs-extra.
RangeError: Maximum call stack size exceeded at node_modules/klaw/src/index.js:45:23 at go$readdir$cb (node_modules/graceful-fs/graceful-fs.js:187:14) at FSReqWrap.oncomplete (fs.js:135:15) version 2.1.1 but nothing in new version relates here. I have a folder with 200k+ files in it that crashes klaw. ```javascript const crawl = async (subdir: string, cb) => { const done = resolvable(); klaw(path.join(dir, subdir), { filter: (item) => { return item.endsWith(".job"); } }).on('data', (item) => { cb(item.path); }).on('end', () => done.resolve()); await done; }; ```
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be still under discussion. The issue was opened by aikar and has received 10 comments.