awesome-repositories.com
博客
MCP
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目MCP 服务器关于排名机制媒体报道
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
SBoudrias avatar

SBoudrias/Inquirer.js

0
View on GitHub↗
21,578 星标·1,357 分支·TypeScript·MIT·9 次浏览

Inquirer.js

Inquirer.js is a command line input framework and prompt library for Node.js applications. It provides a structured set of tools for building interactive terminal interfaces, including menus, checklists, and text inputs, to gather user data and manage complex interactions.

The framework allows for the creation of dynamic user experiences through branching prompt logic and the resolution of asynchronous configurations. Users can define custom prompts using a provided API and localize interface text into different languages.

The library covers a wide range of input capabilities, including single and multiple choice selections, boolean confirmations, and real-time filtering and searching of lists. It also supports ranking items, selecting files from directories, and capturing long-form text by launching an external system editor.

Features

  • Interactive Command Line Interfaces - Provides a comprehensive framework for building complex, interactive command-line interfaces.
  • Interactive CLI Tools - Provides a comprehensive framework for building command-line tools with advanced interactive user experiences.
  • Node.js CLI Libraries - Serves as a library for building interactive command line interfaces specifically for Node.js applications.
  • Interactive Input Frameworks - Provides a structured way to handle complex user interactions and branching logic within a terminal.
  • Terminal User Interface Frameworks - Serves as a primary framework for collecting user data through interactive terminal interfaces.
  • Terminal Interfaces - Ships a set of components for building interactive terminal menus, checklists, and text inputs.
  • Promise-Based Flow Control - Manages the sequence of interactive prompts using asynchronous promise chains.
  • Conditional Prompt Logic - Supports branching prompt logic to ask specific questions based on previous user answers.
  • Multi-Select Inputs - Implements checklist-style prompts where users can toggle multiple items on or off.
  • Event-Driven Input Handlers - Processes raw keyboard streams to update the terminal interface in real time.
  • Input Collection Components - Ships a wide variety of interactive input components including lists, checkboxes, and toggles.
  • Single-Select Inputs - Provides components for users to choose a single item from a list of choices.
  • Terminal Rendering Engines - Tracks UI state and uses ANSI escape codes to redraw terminal lines for a dynamic experience.
  • Terminal User Interfaces - Provides a framework for building interactive text-based interfaces to collect user data within a terminal.
  • Node.js Terminal Frameworks - Offers a Node.js-based framework for creating responsive and interactive terminal user interfaces.
  • List Filtering - Ships real-time filtering and search capabilities for navigating long lists of selectable options.
  • Command Line Configuration - Guides users through a multi-step configuration process using conditional branching logic.
  • File Selection Pickers - Provides interactive pickers for navigating directories and selecting specific files.
  • Custom Prompt APIs - Provides an API and testing utilities to define and implement custom interactive prompt behaviors.
  • Terminal Input Validation - Collects and structures terminal input through formatted prompts with built-in validation logic.
  • Input Response Aggregators - Combines answers from multiple prompts into a single object for easier data management.
  • List Reordering Interfaces - Allows users to prioritize tasks or rank items by changing the sequence of selected options.
  • Prompt Interfaces - Implements a common contract to ensure consistent behavior across all interactive prompt types.
  • List Search Filters - Includes a real-time search interface to quickly filter and select items from long lists.
  • User Confirmation Dialogs - Implements boolean confirmation prompts to require explicit user approval before proceeding with actions.
  • CLI Frameworks - Interactive CLI prompt collection.
  • 命令行界面 - Library for creating interactive command-line prompts.
  • JavaScript CLI Frameworks - Library for creating beautiful, interactive command-line prompts.
  • Node Packages - Library for creating interactive command-line prompts.

Star 历史

sboudrias/inquirer.js 的 Star 历史图表sboudrias/inquirer.js 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

常见问题解答

sboudrias/inquirer.js 是做什么的?

Inquirer.js is a command line input framework and prompt library for Node.js applications. It provides a structured set of tools for building interactive terminal interfaces, including menus, checklists, and text inputs, to gather user data and manage complex interactions.

sboudrias/inquirer.js 的主要功能有哪些?

sboudrias/inquirer.js 的主要功能包括:Interactive Command Line Interfaces, Interactive CLI Tools, Node.js CLI Libraries, Interactive Input Frameworks, Terminal User Interface Frameworks, Terminal Interfaces, Promise-Based Flow Control, Conditional Prompt Logic。

sboudrias/inquirer.js 有哪些开源替代品?

sboudrias/inquirer.js 的开源替代品包括: dthree/vorpal — Vorpal is a Node.js interactive CLI framework and terminal user interface library used to build extensible… enquirer/enquirer — Enquirer is a Node.js library for creating interactive command-line interfaces to gather structured user input. It… jonathanslenders/python-prompt-toolkit — python-prompt-toolkit is a Python library and terminal user interface framework used for building interactive command… ratatui-org/ratatui — Ratatui is a terminal rendering engine and library for the Rust language used to build interactive text-based user… bombshell-dev/clack — Clack is a Node.js CLI framework and prompt library designed for building stylized, interactive command-line user… c-bata/go-prompt — go-prompt is a library for building interactive command-line interfaces in Go. It serves as a cross-platform console…

Inquirer.js 的开源替代方案

相似的开源项目,按与 Inquirer.js 的功能重合度排序。
  • dthree/vorpaldthree 的头像

    dthree/vorpal

    5,628在 GitHub 上查看↗

    Vorpal is a Node.js interactive CLI framework and terminal user interface library used to build extensible command-line shells. It functions as an interactive command-line parser that converts string input into executable functions, managing the lifecycle of terminal sessions and command routing. The framework is distinguished by a plugin-based extension architecture that allows external modules to register new commands, shared behaviors, and complete command suites into the core environment. It supports the creation of custom shell environments with specialized namespaces and a system for pe

    JavaScript
    在 GitHub 上查看↗5,628
  • enquirer/enquirerenquirer 的头像

    enquirer/enquirer

    7,946在 GitHub 上查看↗

    Enquirer is a Node.js library for creating interactive command-line interfaces to gather structured user input. It provides a set of terminal prompts, including menus, forms, and text fields, to collect data via autocomplete, multiselect, and boolean confirmations. The project serves as a customizable framework that allows for the creation of custom prompt types through a base class and the extension of functionality via a plugin architecture. The library covers a wide range of interaction patterns, such as capturing numerical and sensitive data, validating user input against custom rules, a

    JavaScript
    在 GitHub 上查看↗7,946
  • jonathanslenders/python-prompt-toolkitjonathanslenders 的头像

    jonathanslenders/python-prompt-toolkit

    10,498在 GitHub 上查看↗

    python-prompt-toolkit is a Python library and terminal user interface framework used for building interactive command line interfaces. It provides a toolkit for constructing complex terminal applications with advanced input handling and layout management. The project features a real-time syntax highlighting engine and a rendering system that ensures correct alignment and display of double-width Unicode characters. It includes specialized capabilities for command line autocompletion, providing ghost text suggestions and searchable input history. The framework covers a broad range of interface

    Python
    在 GitHub 上查看↗10,498
  • ratatui-org/ratatuiratatui-org 的头像

    ratatui-org/ratatui

    21,277在 GitHub 上查看↗

    Ratatui is a terminal rendering engine and library for the Rust language used to build interactive text-based user interfaces. It provides a framework for creating command-line dashboards and visual applications by rendering widgets and layouts directly to a terminal screen. The project utilizes a backend-agnostic interface to decouple UI logic from terminal drivers and employs a constraint-based layout engine to divide screen space into nested rectangular areas. It manages rendering through an immediate-mode drawing loop and a buffer-based system to minimize screen flicker. The library supp

    Rust
    在 GitHub 上查看↗21,277
查看 Inquirer.js 的所有 30 个替代方案→