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.
-
Updated
Mar 28, 2018 - JavaScript
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 find-up topic page so that developers can more easily learn about it.
To associate your repository with the find-up topic, visit your repo's landing page and select "manage topics."