Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/npm/cli
/ cache.js
File
cache.js
test/lib/commands/cache.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
Callers
nothing calls this directly
Calls
11
cleanCwd
Function · 0.85
createNpxCacheEntry
Function · 0.85
replace
Method · 0.80
manifest
Method · 0.80
from
Method · 0.80
loadMockNpm
Function · 0.70
testComp
Function · 0.70
exec
Method · 0.45
get
Method · 0.45
package
Method · 0.45
set
Method · 0.45
Tested by
no test coverage detected