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]

5 lines (4 loc) 274 B
import type Settings from '../settings'; import type { ErrnoException, Stats } from '../types'; export declare type AsyncCallback = (error: ErrnoException, stats: Stats) => void; export declare function read(path: string, settings: Settings, callback: AsyncCallback): void;