cache-path
Version:
return a cache directory, like `find-cache-dir` do
15 lines (14 loc) • 571 B
TypeScript
import { findPkgModuleCachePath, findPkgModulePath } from './finder/findPkgModuleCachePath';
import { findYarnCachePath } from './finder/findYarnCachePath';
import { findNpmCachePath } from './finder/findNpmCachePath';
import { findOSTempPath } from './finder/findOSTempPath';
export { findPkgModuleCachePath };
export { findPkgModulePath };
export { findYarnCachePath };
export { findNpmCachePath };
export { findOSTempPath };
/**
* fn[] of any function return a string
* stop when get first return
*/
export declare const defaultOrder: (typeof findYarnCachePath)[];