Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 614 Bytes

README.md

File metadata and controls

33 lines (20 loc) · 614 Bytes

enquirer-compat

This package helps you switch from Inquirer to Enquirer without heavy code changes.

Usage

Install it:

npm i enquirer-compat

Change your code like this:

- const inquirer = require('inquirer')
+ const inquirer = require('enquirer-compat')

Don't forget to test your code after that.

Known Issues

Not all features of Inquirer are supported or implemented in Enquirer.

  • NOT supports rawlist, expand, editor prompts.
  • NOT supports separator.

License

MIT License (c) 2018-present Pig Fang