• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

npm / cli / #926 / 1
90%
latest: 97%

Build:
Build:
LAST BUILD BRANCH: nlf/arborist-validation
DEFAULT BRANCH: latest
Ran 18 Dec 2020 08:27PM UTC
Files 121
Run time 14s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

18 Dec 2020 07:38PM UTC coverage: 90.16% (+0.01%) from 90.149%
#926.1

push

isaacs
Support multiple set/get/deletes in npm config

While digging into #2300, I realized it would be a lot easier if we
could do this:

    npm config set email=me@example.com _auth=xxxx

and avoid the whole issue of what gets set first.

Also, why not let `npm config get foo bar baz` return just the keys
specified?

Also updates the docs, including the statement that `npm config set foo`
with no value sets it to `true`, when as far as I can tell, that has
never been the case.

PR-URL: https://github.com/npm/cli/pull/2362
Credit: @isaacs
Close: #2362
Reviewed-by: @nlf

2625 of 2949 branches covered (89.01%)

Branch coverage included in aggregate %.

4678 of 5151 relevant lines covered (90.82%)

16.3 hits per line

Source Files on job #926.1
  • Tree
  • List 0
  • Changed 16
  • Source Changed 15
  • Coverage Changed 15
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 926
  • a9b8bf26 on github
  • Prev Job for on isaacs/config-set-multi (##886.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc