UNPKG

create-node-template

Version:

Create node.js/express boilerplate with one command

15 lines 679 B
export const runWithInquirer = async () => { // Select package manager // Select name of project // Start node project with -y command using the chosen package manager // const questions = inpuQuestions // inquirer.prompt(questions).then((answers: Record<string, any>) => { // console.log(JSON.stringify(answers, null, ' ')); // }); // const packManagers = packageManagers; // console.log('🚀 packManagers:', packManagers); // const questions = listInquiry; // const answers: Record<string, unknown> = await inquirer.prompt(questions); // console.log(JSON.stringify(answers, null, ' ')); }; //# sourceMappingURL=index.js.map