Yeoman generator prompts.
npm install @jswork/generator-prompts
import genp from '@jswork/generator-prompts';
const prompts = genp(["scope", "registry", "project_name", "description"]);
// your generator code...
Code released under the MIT license.