@alexaegis/workspace-tools
Version:
Tools for working with javascript workspaces
10 lines • 357 B
TypeScript
/**
* Returns the nearest folder where a package.json file is present
*
* (If you're searching for the farthest, use the getCurrentPackageRoot function)
*
* @param cwd @default process.cwd()
* @returns
*/
export declare const getCurrentPackageRoot: (cwd?: string) => string | undefined;
//# sourceMappingURL=get-current-package-root.function.d.ts.map