Recursively scan and filter directory for a flat array of files.
npm install --save filter-scan-dir
import { filterScanDir, filterScanDirSync } from "filter-scan-dir";
// sync
console.log(filterScanDirSync({ cwd: "test" }));
// async
console.log(await filterScanDir({ cwd: "test" }));
Licensed under the Apache License, Version 2.0