Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/expressjs/body-parser
/ tryRequire
Function
tryRequire
test/text.js:558–564 ·
view source on GitHub ↗
(name)
Source
from the content-addressed store, hash-verified
556
}
557
558
function
tryRequire (name) {
559
try {
560
return
require(name)
561
} catch (e) {
562
return
{}
563
}
564
}
Callers
1
text.js
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected