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]

14 lines (13 loc) 536 B
declare type CacheOptions = { ABI: string; arch: string; debug: boolean; electronVersion: string; headerURL: string; modulePath: string; }; export declare const cacheModuleState: (dir: string, cachePath: string, key: string) => Promise<void>; declare type ApplyDiffFunction = (dir: string) => Promise<void>; export declare const lookupModuleState: (cachePath: string, key: string) => Promise<ApplyDiffFunction | boolean>; export declare function generateCacheKey(opts: CacheOptions): Promise<string>; export {};