UNPKG

find-up-path

Version:

Find the path of the first file matching a given name, walking the filesystem upwards.

3 lines (2 loc) 135 B
declare const findUpPath: (fileName: string, folderPath?: string, maxDepth?: number) => string | undefined; export default findUpPath;