Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/npm/cli
/ npm.js
File
npm.js
test/lib/npm.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
const
t = require(
'tap'
)
2
const
{ resolve, dirname, join } = require(
'node:path'
)
3
const
fs = require(
'node:fs/promises'
)
4
const
{ time } = require(
'proc-log'
)
Callers
nothing calls this directly
Calls
12
resolve
Function · 0.85
filter
Method · 0.80
cmd
Method · 0.80
end
Method · 0.80
execCommandClass
Method · 0.80
replace
Method · 0.80
loadMockNpm
Function · 0.50
set
Method · 0.45
get
Method · 0.45
load
Method · 0.45
exec
Method · 0.45
finish
Method · 0.45
Tested by
no test coverage detected