Find the first file matching a given pattern in the current directory or the nearest ancestor directory.
-
Updated
Dec 29, 2023 - JavaScript
Find the first file matching a given pattern in the current directory or the nearest ancestor directory.
Find the first directory with a package.json, recursing up, starting with the given directory. Similar to look-up but does not support globs and only searches for package.json. Async and sync.
Find a file, starting with the given cwd and recursively searching up one directory until it's found (or we run out of directories). Async and sync.
Add a description, image, and links to the findup topic page so that developers can more easily learn about it.
To associate your repository with the findup topic, visit your repo's landing page and select "manage topics."