awesome-repositories.com
Blog
MCP
awesome-repositories.com

Descoperă cele mai bune repository-uri open source cu căutare AI.

ExploreazăCăutări recomandateAlternative open-sourceSoftware self-hostedBlogHartă site
ProiectDespreCum realizăm clasamentulPresăServer MCP
LegalConfidențialitateTermeni
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
flatiron avatar

flatiron/prompt

0
View on GitHub↗
1,956 stele·180 fork-uri·JavaScript·MIT·1 vizualizaregithub.com/flatiron/prompt↗

Prompt

Prompt is a terminal interface management library for Node.js applications that collects, validates, and styles interactive command-line user input. It handles user response collection and input stream controls, allowing developers to build command-line scripts and automation tools that require structured user input.

The library supports asynchronous event-driven prompt flows through both callback patterns and modern promises, alongside conditional prompt bypassing driven by command-line arguments, default values, preset overrides, and previous answers. Captured terminal responses can be appended directly onto existing target objects to streamline configuration workflows. Additional capabilities include ANSI-based terminal styling with custom delimiters and colored message strings, secure password masking for sensitive character input, and direct interception of standard input streams to manage lifecycle events and termination signals.

Input collection is governed by schema-driven validation rules that enforce data types, required fields, regular expressions, numeric and boolean formatting, and custom validation functions alongside default fallbacks.

Features

  • Terminal Prompt Libraries - Provides interactive command-line prompt collection, schema-driven validation, and stream controls for Node.js applications.
  • Command-Line Input Toolkits - Collects user input from the terminal using asynchronous methods with promise and callback support.
  • Interactive CLI Prompts - Builds command-line interfaces in Node.js that prompt users for input and configuration details.
  • Password Masking - Hides sensitive characters and passwords on the terminal screen as users type them.
  • Terminal - Applies schema-driven validation rules and default fallbacks to structure and verify terminal responses.
  • Input Validation Rules - Enforces validation rules, required fields, and regular expression patterns for data collection.
  • Terminal Input Validation - Enforces schema definitions, data types, regular expressions, and custom rules on user-provided terminal inputs.
  • Asynchronous Event Loop - Manages asynchronous event-driven prompt flows supporting callback patterns and modern promises.
  • Prompt Bypassing - Skips interactive prompts automatically using command-line arguments and preset overrides.
  • Terminal Prompt Customizers - Styles terminal prompts with custom messages, delimiters, and ANSI colors.
  • Command Line Utilities - Writes terminal scripts and automation tools in Node.js requiring user input and styling.
  • Input Event Interception - Controls standard input streams directly to manage lifecycle events and termination signals.
  • Sensitive Input Prompts - Masks sensitive characters securely on the terminal screen as users type passwords or secret tokens.
  • ANSI Style Composition - Formats command-line output dynamically using custom ANSI color codes and styled message strings.

Istoric stele

Graficul istoricului de stele pentru flatiron/promptGraficul istoricului de stele pentru flatiron/prompt

Căutare AI

Explorează mai multe repository-uri excelente

Descrie ce ai nevoie în limbaj simplu — AI-ul sortează mii de proiecte open source selectate în funcție de relevanță.

Start searching with AI

Colecții curatoriate care includ Prompt

Colecții selectate manual în care apare Prompt.
  • CLI framework

Întrebări frecvente

Ce face flatiron/prompt?

Prompt is a terminal interface management library for Node.js applications that collects, validates, and styles interactive command-line user input. It handles user response collection and input stream controls, allowing developers to build command-line scripts and automation tools that require structured user input.

Care sunt principalele funcționalități ale flatiron/prompt?

Principalele funcționalități ale flatiron/prompt sunt: Terminal Prompt Libraries, Command-Line Input Toolkits, Interactive CLI Prompts, Password Masking, Terminal, Input Validation Rules, Terminal Input Validation, Asynchronous Event Loop.

Care sunt câteva alternative open-source pentru flatiron/prompt?

Alternativele open-source pentru flatiron/prompt includ: terkelg/prompts — This project is a Node.js CLI input library and toolkit for building interactive command-line user interfaces. It… enquirer/enquirer — Enquirer is a Node.js library for creating interactive command-line interfaces to gather structured user input. It… cliutils/cli11 — CLI11 is a header-only C++ library for parsing command line arguments and managing configuration files. It maps shell… chrisant996/clink — Clink is a command line enhancer and shell extension for the Windows CMD terminal. It functions as a readline-style… fastapi/typer — This project is a Python framework for building command-line interfaces by converting standard functions into… codeigniter4/codeigniter4 — CodeIgniter is a PHP web framework built on the Model-View-Controller pattern, designed for building full-stack web…

Alternative open-source pentru Prompt

Proiecte open-source similare, clasificate după numărul de funcționalități comune cu Prompt.
  • terkelg/promptsAvatar terkelg

    terkelg/prompts

    9,291Vezi pe GitHub↗

    This project is a Node.js CLI input library and toolkit for building interactive command-line user interfaces. It functions as a questionnaire framework and prompt orchestrator designed to capture structured user data through a variety of visual input controls. The system differentiates itself through a logic-driven engine that supports dynamic prompt chains, allowing the sequence and properties of questions to adapt at runtime based on previous user answers. The toolkit provides a wide range of specialized input types, including date pickers, searchable lists, masked passwords, and numeric

    JavaScript
    Vezi pe GitHub↗9,291
  • enquirer/enquirerAvatar enquirer

    enquirer/enquirer

    7,946Vezi pe 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
    Vezi pe GitHub↗7,946
  • cliutils/cli11Avatar CLIUtils

    CLIUtils/CLI11

    4,322Vezi pe GitHub↗

    CLI11 is a header-only C++ library for parsing command line arguments and managing configuration files. It maps shell input to typed variables and supports the creation of complex command hierarchies. The library is distinguished by its support for nested subcommands with infinite depth and prefix matching. It integrates configuration management by allowing application settings to be loaded from TOML or INI files, with the ability to fall back to environment variables. The project provides a comprehensive set of tools for argument parsing, including flags and positional arguments, alongside

    C++clicli-parsercpp11
    Vezi pe GitHub↗4,322
  • chrisant996/clinkAvatar chrisant996

    chrisant996/clink

    5,320Vezi pe GitHub↗

    Clink is a command line enhancer and shell extension for the Windows CMD terminal. It functions as a readline-style input library and completion engine, adding advanced line editing, persistent command history, and command argument prediction to the standard Windows command line environment. The project distinguishes itself through a scriptable architecture that allows for custom completion definitions, Lua keyboard mapping, and dynamic prompt customization. It enables the creation of context-sensitive prompts that can include asynchronous updates, environment-based formatting, and transient

    C++
    Vezi pe GitHub↗5,320
  • Vezi toate cele 30 alternative pentru Prompt→