@posva/prompts is a lightweight and user-friendly JavaScript library that simplifies creating interactive command-line prompts. It offers a clean API for gathering user input, providing various prompt types like text, password, confirm, list, and multiselect. Its minimal dependencies ensure a small bundle size, making it ideal for incorporating interactive elements into CLI tools and scripts without sacrificing performance or adding unnecessary bloat. The package allows basic styling for easy customization.
The npm package @posva/prompts had infrequent releases. In April 2023, two versions (2.4.3 and 2.4.4) were published. From May 2023 to September 2025, there were no new releases. The package appears to be inactive.
@posva/prompts npm package downloads show growth, peaking in March 2025 at 2696. August 2024 (1863) and August 2025 (2140) also had high numbers. September 2025 is incomplete but already shows 382 downloads, indicating a potential positive trend depending on the growth in this month.