Inquirer.js strives to be an easily embeddable and beautiful command line interface for Node.js (and perhaps the "CLI Xanadu"). Inquirer.js should ease the process of providing error feedback, asking questions, parsing input, validating answers, and managing hierarchical prompts. Inquirer.js provides the user interface and the inquiry session flow. If you're searching for a full blown command line program utility, then check out commander, vorpal or args. Create a self contained inquirer module. If you don't want to affect other libraries that also rely on inquirer when you overwrite or add new prompt types. Internally, Inquirer uses the JS reactive extension to handle events and async flows. This mean you can take advantage of this feature to provide more advanced flows. For example, you can dynamically add questions to be asked.

Features

  • Checkbox list with autocomplete and other additions
  • Presents a list of options as the user types, compatible with other packages such as fuzzy (for search)
  • Customizable date/time selector with localization support
  • Customizable date/time selector using both number pad and arrow keys
  • Prompt for selecting index in array where add new element
  • Simple prompt with command history and dynamic autocomplete
  • Prompt for inputting emojis
  • Prompt for input chalk-pipe style strings
  • Auto submit based on your current input, saving one extra enter

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Inquirer.js

Inquirer.js Web Site

You Might Also Like
Red Hat Enterprise Linux on Microsoft Azure Icon
Red Hat Enterprise Linux on Microsoft Azure

Deploy Red Hat Enterprise Linux on Microsoft Azure for a secure, reliable, and scalable cloud environment, fully integrated with Microsoft services.

Red Hat Enterprise Linux (RHEL) on Microsoft Azure provides a secure, reliable, and flexible foundation for your cloud infrastructure. Red Hat Enterprise Linux on Microsoft Azure is ideal for enterprises seeking to enhance their cloud environment with seamless integration, consistent performance, and comprehensive support.
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Inquirer.js!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

JavaScript

Related Categories

JavaScript User Interface (UI) Software

Registered

2021-04-14