I found it surprising that npm doesn\'t autocomplete package names. I thought at first that source <(npm completion) will do that, but it only autocompleted
source <(npm completion)