/filter-scan-dir

Recursively scan and filter directory for a flat array of files

Primary LanguageTypeScriptApache License 2.0Apache-2.0

filter-scan-dir

License build coverage

Downloads

npm badge

Recursively scan and filter directory for a flat array of files.

  • Supports super fast concurrent mode in async version.

  • API Docs

  • Github

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