Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/npm/cli
/ exit-handler.js
File
exit-handler.js
test/lib/cli/exit-handler.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
const
fs = require(
'node:fs'
)
2
const
{ join, resolve } = require(
'node:path'
)
3
const
EventEmitter = require(
'node:events'
)
4
const
os = require(
'node:os'
)
Callers
nothing calls this directly
Calls
15
cleanDate
Function · 0.85
cleanCwd
Function · 0.85
pick
Function · 0.85
mockExitHandler
Function · 0.85
err
Function · 0.85
resolve
Function · 0.85
tmock
Function · 0.85
mockShelloutExit
Function · 0.85
replace
Method · 0.80
type
Method · 0.80
parse
Method · 0.80
filter
Method · 0.80
Tested by
no test coverage detected