Spell npm consistently.
Created by: varungandhi-src
- Spelled as Npm or NPM depending on local case convention. For local variables and in types, Npm should be preferred. For fully uppercase spellings, NPM should be used.
- Default to spelling it as npm otherwise.
This matches the convention in the npm/cli code and the recommendation in the npm/cli README.
Test plan
Ran existing tests.