UNPKG

better-npm-init

Version:

A better version of npm init, with templates and more. Usage: better-npm-init <template> [--yarn] [--install] [--git] [--yes] [--help]

9 lines (8 loc) 386 B
export declare class Cache { private cacheRoot; constructor(cacheRoot?: string); static getCacheDirectory(downloadUrl: string): string; getCachePath(downloadUrl: string, fileName: string): string; getPathForFileInCache(url: string, fileName: string): Promise<string | null>; putFileInCache(url: string, currentPath: string, fileName: string): Promise<string>; }