ancesdir
Version:
Find a specific ancestor/root directory given a starting location and a search parameter
14 lines (13 loc) • 470 B
TypeScript
/**
* Get the default starting path for the ancesdir function.
*
* If we don't have a `from` path, then we want to go from our own package
* directory's parent. So, we find our own package dir and start there.
*
* @return {string} The absolute path to the default starting directory.
*/
export declare const defaultFrom: () => string;
/**
* The default marker file to look for in the directory structure.
*/
export declare const defaultMarker = "package.json";