Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/npm/cli
/ trust-cmd.js
File
trust-cmd.js
test/lib/trust-cmd.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
const
t = require(
'tap'
)
2
const
{ load: loadMockNpm } = require(
'../fixtures/mock-npm.js'
)
3
const
MockRegistry = require(
'@npmcli/mock-registry'
)
4
const
realProcLog = require(
'proc-log'
)
Callers
nothing calls this directly
Calls
10
trustCreate
Method · 0.80
createConfig
Method · 0.80
end
Method · 0.80
logOptions
Method · 0.80
formatPermissions
Method · 0.80
displayResponseBody
Method · 0.80
loadMockNpm
Function · 0.50
get
Method · 0.45
exec
Method · 0.45
bodyToOptions
Method · 0.45
Tested by
no test coverage detected