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.
- Host: GitHub
- URL: https://github.com/enquirer/enquirer-compat
- Owner: enquirer
- License: mit
- Created: 2018-11-12T09:22:19.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-11-24T08:42:53.000Z (over 6 years ago)
- Last Synced: 2025-03-02T03:14:54.143Z (4 months ago)
- Language: JavaScript
- Size: 7.81 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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