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]

12 lines (10 loc) 160 B
'use strict'; const {Readable} = require('stream'); module.exports = input => ( new Readable({ read() { this.push(input); this.push(null); } }) );