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

Other Useful Business Software
Get full visibility and control over your tasks and projects with Wrike. Icon
Get full visibility and control over your tasks and projects with Wrike.

A cloud-based collaboration, work management, and project management software

Wrike offers world-class features that empower cross-functional, distributed, or growing teams take their projects from the initial request stage all the way to tracking work progress and reporting results.
Learn More
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