Typo in help info for "npm install"


(Ian Rehwinkel) #1

What I Wanted to Do

I wanted to install an npm package.

What Happened Instead

I noticed that the alisases in the command help were printed as following: i, isntall, add.

Reproduction Steps

Type npm i --help into terminal.

Details

It’s not really a bug, just a minor spelling mistake.

Platform Info

$ npm --versions
{
  npm: '6.4.1',
  ares: '1.14.0',
  cldr: '32.0.1',
  http_parser: '2.7.1',
  icu: '60.2',
  modules: '57',
  nghttp2: '1.30.0',
  node: '8.10.0',
  openssl: '1.1.0g',
  tz: '2017c',
  unicode: '10.0',
  uv: '1.18.0',
  v8: '6.2.414.50',
  zlib: '1.2.11'
}
$ node -p process.platform
linux

(Lars Willighagen) #2

I can’t check right now, but that could just be an intentional alias to catch typos.