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]

8 lines (7 loc) 524 B
/// <reference types="node" /> import type Settings from '../settings'; import type { Entry } from '../types'; export declare type AsyncCallback = (error: NodeJS.ErrnoException, entries: Entry[]) => void; export declare function read(directory: string, settings: Settings, callback: AsyncCallback): void; export declare function readdirWithFileTypes(directory: string, settings: Settings, callback: AsyncCallback): void; export declare function readdir(directory: string, settings: Settings, callback: AsyncCallback): void;