npm-completion
generates shell completion scripts
TLDR
Generate bash completion
$ npm completion >> ~/.bashrc
Generate zsh completion$ npm completion >> ~/.zshrc
Output completion script$ npm completion
SYNOPSIS
npm completion
DESCRIPTION
npm completion generates shell completion scripts. Enables tab completion for npm.
The command outputs script to stdout. Append to shell rc file.
PARAMETERS
--help
Display help information.
CAVEATS
Requires shell restart. Bash and zsh supported. Source after adding.
HISTORY
npm completion provides shell integration for command-line tab completion.
SEE ALSO
npm(1), bash-completion(1)
