MCPcopy Create free account
hub / github.com/npm/cli / entry.js

File entry.js

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 10

updateNotifierFunction · 0.85
warnMethod · 0.80
filterMethod · 0.80
errorMethod · 0.80
setNpmMethod · 0.45
offMethod · 0.45
loadMethod · 0.45
exitMethod · 0.45
execMethod · 0.45

Tested by

no test coverage detected