Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

About

A package for compatibility from Inquirer.

Resources

License

Sponsor this project

 

Packages

No packages published