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) 181 B
export class YError extends Error { constructor(msg) { super(msg || 'yargs error'); this.name = 'YError'; Error.captureStackTrace(this, YError); } }