An open API service indexing awesome lists of open source software.

https://github.com/enquirer/enquirer-compat

A package for compatibility from Inquirer.
https://github.com/enquirer/enquirer-compat

Last synced: 4 months ago
JSON representation

A package for compatibility from Inquirer.

Awesome Lists containing this project

README

        

# enquirer-compat

![](https://flat.badgen.net/travis/g-plane/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:

```diff
- 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