diff --git a/packages/search/README.md b/packages/search/README.md index 2906648aa..c03895415 100644 --- a/packages/search/README.md +++ b/packages/search/README.md @@ -14,6 +14,22 @@ Interactive search prompt component for command line interfaces. +```sh +npm install @inquirer/prompts +``` + + + + +```sh +yarn add @inquirer/prompts +``` + + + + + + ```sh npm install @inquirer/search ``` @@ -32,7 +48,9 @@ yarn add @inquirer/search # Usage ```js -import search, { Separator } from '@inquirer/search'; +import { search, Separator } from '@inquirer/prompts'; +// Or +// import search, { Separator } from '@inquirer/search'; const answer = await search({ message: 'Select an npm package',