inquirer

  • Version 12.6.0
  • Published
  • 72.5 kB
  • 7 dependencies
  • MIT license

Install

npm i inquirer
yarn add inquirer
pnpm add inquirer

Overview

A collection of common interactive command line user interfaces.

Index

Variables

variable A

const A: any;

    variable A

    const A: any;

      variable Answers

      const Answers: any;

        variable Answers

        const Answers: boolean;

          variable Answers

          const Answers: any;

            variable Answers

            const Answers: boolean;

              variable inquirer

              const inquirer: { prompt: { () } };

                variable PrefilledAnswers

                const PrefilledAnswers: any;

                  variable PrefilledAnswers

                  const PrefilledAnswers: any;

                    Functions

                    function createPromptModule

                    createPromptModule: <
                    Prompts extends Record<string, Record<string, unknown>> = never
                    >(
                    opt?: StreamOptions
                    ) => { () };
                    • Create a new self-contained prompt module.

                    function registerPrompt

                    registerPrompt: (name: string, newPrompt: LegacyPromptConstructor) => void;

                      function restoreDefaultPrompts

                      restoreDefaultPrompts: () => void;

                        Package Files (1)

                        Dependencies (7)

                        Dev Dependencies (4)

                        Peer Dependencies (1)

                        Badge

                        To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

                        You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/inquirer.

                        • Markdown
                          [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/inquirer)
                        • HTML
                          <a href="https://www.jsdocs.io/package/inquirer"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>