Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/npm/cli
/ global
Method
global
lib/npm.js:442–444 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
440
}
441
442
get global () {
443
return
this.config.get(
'global'
) || this.config.get(
'location'
) ===
'global'
444
}
445
446
get silent () {
447
return
this.flatOptions.silent
Callers
nothing calls this directly
Calls
1
get
Method · 0.45
Tested by
no test coverage detected