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
Our Free Plans just got better! | Auth0 by Okta Icon
Our Free Plans just got better! | Auth0 by Okta

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your secuirty. Auth0 now, thank yourself later.
Try free now
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