{"id":20333091,"url":"https://github.com/jaebradley/npm-install-search-cli","last_synced_at":"2025-04-11T21:33:11.509Z","repository":{"id":31195899,"uuid":"127174627","full_name":"jaebradley/npm-install-search-cli","owner":"jaebradley","description":"🔍 📦 Search and install npm packages in the same command","archived":false,"fork":false,"pushed_at":"2022-02-09T19:18:33.000Z","size":1964,"stargazers_count":4,"open_issues_count":12,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-25T17:46:52.297Z","etag":null,"topics":["cli","inquirer","inquirer-autocomplete","nodejs","npm","npm-install","npm-search"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/npm-install-search-cli","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jaebradley.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-03-28T17:23:05.000Z","updated_at":"2023-08-06T12:32:11.000Z","dependencies_parsed_at":"2022-08-07T16:15:31.214Z","dependency_job_id":null,"html_url":"https://github.com/jaebradley/npm-install-search-cli","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaebradley%2Fnpm-install-search-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaebradley%2Fnpm-install-search-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaebradley%2Fnpm-install-search-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaebradley%2Fnpm-install-search-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jaebradley","download_url":"https://codeload.github.com/jaebradley/npm-install-search-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248483393,"owners_count":21111441,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","inquirer","inquirer-autocomplete","nodejs","npm","npm-install","npm-search"],"created_at":"2024-11-14T20:29:17.170Z","updated_at":"2025-04-11T21:33:11.474Z","avatar_url":"https://github.com/jaebradley.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# npm-install-search-cli\n\n[![npm](https://img.shields.io/npm/v/npm-install-search-cli.svg)](https://www.npmjs.com/package/npm-install-search-cli)\n[![npm](https://img.shields.io/npm/dt/npm-install-search-cli.svg)](https://www.npmjs.com/package/npm-install-search-cli)\n\n![alt-text](https://media.giphy.com/media/1akH8ZffIwX1XcIwWt/giphy.gif)\n\n## Installation\n\n```bash\nnpm install npm-install-search-cli -g\n// or\nyarn add npm-install-search-cli -g\n```\n\n## Usage\n\n### `npm install` + `search`\n\n```bash\nnis [...options]\n```\n\n### `yarn add` + `search`\n\n```bash\nyas [...options]\n```\n\nIf you use `npm` for package management, you can execute `nis` with some of [the current `npm install` `options`](https://docs.npmjs.com/cli/install) like `--save` or `--save-dev` or `--save-prod`. \u003csup\u003e[1](#npm-options-footnote)\u003c/sup\u003e\n\nIf you use `yarn` for package management, you can execute `yas` with all of [the current `yarn add` `options`](https://yarnpkg.com/en/docs/cli/add) like `--dev` or `-E`.\n\nYou'll be prompted to search packages in the `npm` registy using an autocomplete interface.\n\n![alt-text](https://imgur.com/hSRpcfT.png)\n\n(Under the hood, the CLI is making HTTP requests to [the `npm` registry's `search` API](https://github.com/npm/registry/blob/master/docs/REGISTRY-API.md#get-v1search)).\n\nOnce you make a selection, it should install like good 'ol `npm install` or `yarn add`!\n\n![alt-text](https://imgur.com/ijG0lBQ.png)\n\n\u003ca name=\"npm-options-footnote\"\u003e1\u003c/a\u003e: The current options are `-S` / `--save`, `-P` / `--save-prod`, `-D` / `--save-dev`, `-O` / `--save-optional`, `-E` / `--save-exact`, `-B` / `--save-bundle`, `-g`, / `--global`, `--no-save`, and `--dry-run`. While not the complete list of options available via `npm install`, I find these options represent `99%` of my usecases - feel free to open a PR if you want to add more options!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaebradley%2Fnpm-install-search-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjaebradley%2Fnpm-install-search-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaebradley%2Fnpm-install-search-cli/lists"}