feat: parse buffer internally (#27)

cleaner public api
This commit is contained in:
Mert
2026-02-18 09:45:25 +01:00
committed by GitHub
parent 7eefc88f93
commit 5d6088f5b4
7 changed files with 21 additions and 13 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ const path = process.argv[2] || '/';
const files: string[] = [];
for await (const batch of walk({ paths: [path] })) {
files.push(...JSON.parse(batch));
files.push(...batch);
}
console.log(files.length);