inquirer

  • Version 13.0.1
  • Published
  • 48.3 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 Answers

    const Answers: any;

      variable Answers

      const Answers: boolean;

        variable Answers

        const Answers: boolean;

          variable inquirer

          const inquirer: {
          prompt: PromptModuleApi<Omit<QuestionMap, '__dummy'>>;
          ui: { Prompt: typeof PromptsRunner };
          createPromptModule: typeof createPromptModule;
          registerPrompt: typeof registerPrompt;
          restoreDefaultPrompts: typeof restoreDefaultPrompts;
          Separator: any;
          };

            variable Prefilled

            const Prefilled: any;

              variable Prefilled

              const Prefilled: any;

                variable PublicQuestions

                const PublicQuestions: any;

                  variable QuestionsDictionary

                  const QuestionsDictionary: any;

                    Functions

                    function createPromptModule

                    createPromptModule: <
                    Prompts extends Record<string, Record<string, unknown>> = never
                    >(
                    opt?: StreamOptions
                    ) => PromptModuleApi<Prompts>;
                    • 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 (3)

                        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>