MCPcopy Index your code
hub / github.com/nodejs/node / load

Method load

deps/npm/lib/npm.js:74–82  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

72 }
73
74 async load () {
75 let err
76 try {
77 return await time.start('npm:load', () => this.#load())
78 } catch (e) {
79 err = e
80 }
81 return this.#handleError(err)
82 }
83
84 async #load () {
85 await time.start('npm:load:whichnode', async () => {

Callers 2

#loadMethod · 0.45
mainFunction · 0.45

Calls 3

#loadMethod · 0.95
#handleErrorMethod · 0.95
startMethod · 0.45

Tested by

no test coverage detected