Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

jaebradley/npm-install-search-cli

Open more actions menu

Repository files navigation

npm-install-search-cli

npm npm

alt-text

Installation

npm install npm-install-search-cli -g
// or
yarn add npm-install-search-cli -g

Usage

npm install + search

nis [...options]

yarn add + search

yas [...options]

If you use npm for package management, you can execute nis with some of the current npm install options like --save or --save-dev or --save-prod. 1

If you use yarn for package management, you can execute yas with all of the current yarn add options like --dev or -E.

You'll be prompted to search packages in the npm registy using an autocomplete interface.

alt-text

(Under the hood, the CLI is making HTTP requests to the npm registry's search API).

Once you make a selection, it should install like good 'ol npm install or yarn add!

alt-text

1: 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!

Releases

Packages

Used by

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.