Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/expressjs/body-parser
/ tryRequire
Function
tryRequire
test/json.js:750–756 ·
view source on GitHub ↗
(name)
Source
from the content-addressed store, hash-verified
748
}
749
750
function
tryRequire (name) {
751
try {
752
return
require(name)
753
} catch (e) {
754
return
{}
755
}
756
}
Callers
1
json.js
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected