Packages

inquirer

14.2.5 · 27 Oct 2026MIT59.6M / weekRepositoryHomepagenpmAtom feed

Your version

8.1.0

21 May 2021Where it was published

8.2.7 is the newest release of 8.x.

In short

2 new

Release note

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: '...',
  }
}):