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) 260 B
/// <reference types="node" /> import { SpawnOptions } from 'child_process'; export interface SpawnResult { code: number | null; output: string; } export declare const spawn: (cmd: string, args?: string[], opts?: SpawnOptions) => Promise<SpawnResult>;