Function: findPackagePath()
findPackagePath(
path):Promise<string>
Finds the nearest "package.json" file by traversing up the directory tree starting from the given path.
Parameters
path
string
The starting path to search from.
Returns
Promise<string>
A Promise that resolves to the path of the nearest "package.json" file, or null if not found.
