Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/expressjs/body-parser
/ tryRequire
Function
tryRequire
test/raw.js:498–504 ·
view source on GitHub ↗
(name)
Source
from the content-addressed store, hash-verified
496
}
497
498
function
tryRequire (name) {
499
try {
500
return
require(name)
501
} catch (e) {
502
return
{}
503
}
504
}
Callers
1
raw.js
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected