@visulima/find-cache-dir
Version:
Finds the common standard cache directory
10 lines (8 loc) • 319 B
text/typescript
type Options = {
create?: boolean;
cwd?: URL | string;
throwError?: boolean;
};
declare const findCacheDir: (name: string, options?: Options) => Promise<string | undefined>;
declare const findCacheDirSync: (name: string, options?: Options) => string | undefined;
export { findCacheDir, findCacheDirSync };