1 npm-completion(1) -- Tab Completion for npm
2 ===========================================
10 Enables tab-completion in all npm commands.
13 loads the completions into your current shell. Adding it to
14 your ~/.bashrc or ~/.zshrc will make the completions available
17 You may of course also pipe the output of npm completion to a file
18 such as `/usr/local/etc/bash_completion.d/npm` if you have a system
19 that will read that file for you.
21 When `COMP_CWORD`, `COMP_LINE`, and `COMP_POINT` are defined in the
22 environment, `npm completion` acts in "plumbing mode", and outputs
23 completions based on the arguments.