A collection of common interactive command line user interfaces.
MIT License
Bot releases are visible (Hide)
All custom errors thrown from inquirer now includes a name
attribute reflecting the error class. When checking if an error comes from inquirer AND using a bundler (like tsup, rollup, etc), instanceof
might not work as you expect it to. So instead, it is recommend to follow this example:
- if (error instanceof ExitPromptError) {
+ if (error.name === 'ExitPromptError') {
First release on a brand new search prompt! See documentation
inquirer
is publishes a dual-build CJS/ESM.)@inquirer/prompt
.@inquirer/core
. Custom prompts built on [email protected]
will keep working, but should plan a migration.inquirer.ui.BottomBar
is deleted.My expectation is that this release should be a drop-in replacement for people using inquirer.prompt()
and built-ins 🤞🏻. Please open an issue on Github if you run into issues migrating; it's a large rewrite and there might be a few sharp edges to cut! Hope you'll like this new release.