MCPcopy Create free account
hub / github.com/npm/cli / fn

Function fn

workspaces/arborist/scripts/benchmark/reify.js:97–104  ·  view source on GitHub ↗
(d)

Source from the content-addressed store, hash-verified

95 }
96 },
97 async fn (d) {
98 await new Arborist({
99 path,
100 registry,
101 cache: /no-cache/.test(path) ? resolve(path, 'cache') : cache,
102 }).reify()
103 d.resolve()
104 },
105 })
106 }
107}

Callers 7

listenerFunction · 0.50
filterMethod · 0.50
debug.jsFile · 0.50
tree-check.jsFile · 0.50
reify.jsFile · 0.50
mainFunction · 0.50
prompt.jsFile · 0.50

Calls 3

resolveFunction · 0.85
resolveMethod · 0.80
reifyMethod · 0.45

Tested by

no test coverage detected