Skip to content

inquirer@8.1.0

Compare
Choose a tag to compare
@SBoudrias SBoudrias released this 21 May 20:31

New features

  • Now display a loading spinner while asynchronously filtering or validating data.
  • inquirer.prompt() now accept a shorthand object syntax instead of an array with named prompts:
const { foo, bar } = await inquirer.prompt({
  foo: {
    message: '...',
    default: '...',
  },
  bar: {
    default: '...',
  }
}):