UNPKG

@rae004/get-file-paths

Version:

A package to get all file paths in a given directory recursively.

10 lines 514 B
import { GetFilePathsOptions, GetFilePathsOutput } from './main.interface'; /** * Take a directory path and return an array of objects with full & relative file paths for every file in that directory. * Recursive through child directories and except for directories or files listed in the excludes array. * * @param directoryPath * @param options */ export declare const getFilePaths: (directoryPath: string, options?: GetFilePathsOptions) => Promise<GetFilePathsOutput[]>; //# sourceMappingURL=main.d.ts.map