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
PRTG Catches Network Issues Before They Cause Downtime Icon
PRTG Catches Network Issues Before They Cause Downtime

Threshold-based alerts flag problems early, so your team can act before users notice, not after.

Reactive troubleshooting usually means hearing about a problem from frustrated users, not your monitoring tool. PRTG sets threshold-based alerts across devices, servers and applications, notifying your team by email, SMS or push the moment a metric crosses a set limit. That means catching a failing disk or overloaded server before it becomes an outage and getting time back from firefighting. Start a free trial and set your first alerts today.
Download 30-Day Trial
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