MCPcopy Index your code
hub / github.com/nodejs/node / entry.js

File entry.js

deps/npm/lib/cli/entry.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// Separated out for easier unit testing
2module.exports = async (process, validateEngines) => {
3 // set it here so that regardless of what happens later, we don't leak any private CLI configs to other programs
4 process.title = 'npm'

Callers

nothing calls this directly

Calls 15

updateNotifierFunction · 0.85
verboseMethod · 0.80
infoMethod · 0.80
warnMethod · 0.80
sliceMethod · 0.65
filterMethod · 0.65
requireFunction · 0.50
setNpmMethod · 0.45
joinMethod · 0.45
offMethod · 0.45
loadMethod · 0.45

Tested by

no test coverage detected