# inquirer-loop

> Inquirer loop prompt

Latest version **0.3.0** (published 2020-08-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install inquirer-loop
pnpm add inquirer-loop
yarn add inquirer-loop
bun add inquirer-loop
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.3.0 |
| Published | 2020-08-30 |
| First published | 2020-08-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 3.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | KoLiBer |
| Maintainers | koliber |
| Keywords | inquirer, loop, prompt |

## Links

- npm: https://www.npmjs.com/package/inquirer-loop
- Repository: https://github.com/ckoliber/inquirer-loop
- Homepage: https://github.com/ckoliber/inquirer-loop#readme
- Issues: https://github.com/ckoliber/inquirer-loop/issues
- npm.io page: https://npm.io/package/inquirer-loop

## Dependencies (1)

- [inquirer](https://npm.io/package/inquirer.md) ^7.3.3

## Alternatives

- [localforage](https://npm.io/package/localforage.md) — 6.2M weekly downloads
- [localforage-observable](https://npm.io/package/localforage-observable.md) — 30.8K weekly downloads
- [@y/y](https://npm.io/package/@y/y.md) — 30.1K weekly downloads
- [@metaobjectsdev/render](https://npm.io/package/@metaobjectsdev/render.md) — 3.5K weekly downloads
- [@ledgerhq/coin-algorand](https://npm.io/package/@ledgerhq/coin-algorand.md) — 1.1K weekly downloads

## Recent versions

- 0.3.0 (latest) — 2020-08-30
- 0.2.0 — 2020-08-30
- 0.1.0 — 2020-08-30

## README

# Inquirer Loop

![Package](https://img.shields.io/npm/v/inquirer-loop)
![Travis](https://img.shields.io/travis/ckoliber/inquirer-loop/master)
![GitHub](https://img.shields.io/github/license/ckoliber/inquirer-loop)

Inquirer **loop** prompt

---

## Installation

```sh
npm install --save inquirer-loop
```

## Usage

```js
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](LICENSE.md).  
Copyright (c) KoLiBer (koliberr136a1@gmail.com)

---
_Source: https://npm.io/package/inquirer-loop · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
