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