UNPKG

@in-browser/fdir

Version:

The fastest directory crawler & globbing alternative to glob, fast-glob, & tiny-glob. Crawls 1m files in < 1s

4 lines (3 loc) 329 B
import { WalkerState, Dirent } from "../../types"; export type WalkDirectoryFunction = (state: WalkerState, crawlPath: string, directoryPath: string, depth: number, callback: (entries: Dirent[], directoryPath: string, depth: number) => void) => void; export declare function build(isSynchronous: boolean): WalkDirectoryFunction;