Package Exports
- inquirer-loop
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (inquirer-loop) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Inquirer Loop
Inquirer loop prompt
Installation
npm install --save inquirer-loop
Usage
inquirer.registerPrompt("loop", require("inquirer-loop")(inquirer));
inquirer.prompt({
type: "loop",
name: "items",
message: "Add another item?",
questions: [
{
type: "input",
name: "key",
message: "Enter item key",
},
{
type: "input",
name: "value",
message: "Enter item value",
},
],
});
License
This project is licensed under the MIT license.
Copyright (c) KoLiBer (koliberr136a1@gmail.com)