🚀 DAY 1 OF LAUNCH WEEK: Reachability for Ruby Now in Beta.Learn more →
Socket
Book a DemoInstallSign in
Socket

npm-completion

Package Overview
Dependencies
Maintainers
1
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

npm-completion

bash and zsh completion script for npm package names.

Source
npmnpm
Version
1.4.4-windows
Version published
Maintainers
1
Created
Source

npm-completion

bash and zsh completion script for npm package names.

this script will list/complete package names for remove, update and install commands. when there are multiple options it will list them.

npm install npm-comp[tab]
#output
#npm-compact	npm-compat	npm-completion	npm-comp-stat-www

when theres only one possible option it will complete it.

npm install npm-compl[tab]
#result
#npm install npm-completion

install will look at all package names on npm. Remove and update will look at locally installed packages(if -g is in the command, it will look at global packages).

package list updated at 3am ET everyday so it's recommended that you run the update command periodically.

npm-completion-update

SETUP

manually

install

$ git clone https://github.com/Jephuff/npm-completion
$ ./npm-completion/setup

update

$ ./npm-completion/update

npm

install

$ npm i -g npm-completion

if you use sudo to install, you will need to run the setup script manually

$ npm-completion-setup

update

$ npm-completion-update

windows users

you will need to download the windows version

$ npm i -g npm-completion@windows
$ npm-completion-setup

Keywords

bash

FAQs

Package last updated on 01 Dec 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts