cache-path
Version:
return a cache directory, like `find-cache-dir` do
9 lines (8 loc) • 375 B
TypeScript
export declare function findPkgPath(cwd?: string): string;
export declare function findPkgModulePathCore(root: string): string;
export declare function findPkgModuleCachePathCore(root: string): string;
/**
* try get a pkg/node_modules
*/
export declare function findPkgModulePath(cwd?: string): string;
export declare function findPkgModuleCachePath(cwd?: string): string;