Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/npm/cli
/ registry.js
File
registry.js
workspaces/libnpmexec/test/registry.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
const
{ resolve } = require(
'node:path'
)
2
const
t = require(
'tap'
)
3
const
{ setup, createPkg, merge } = require(
'./fixtures/setup.js'
)
4
const
crypto = require(
'node:crypto'
)
Callers
nothing calls this directly
Calls
8
createPkg
Function · 0.85
merge
Function · 0.85
package
Function · 0.85
resolve
Function · 0.85
update
Method · 0.80
exec
Function · 0.70
setup
Function · 0.50
package
Method · 0.45
Tested by
no test coverage detected