Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/nodejs/node
/ require
Function
require
lib/internal/modules/helpers.js:190–192 ·
view source on GitHub ↗
(path)
Source
from the content-addressed store, hash-verified
188
}
189
190
function
require(path) {
191
return
mod.require(path);
192
}
193
194
/**
195
* The `resolve` method that gets attached to module-scope `require`.
Callers
15
package_json_reader.js
File · 0.70
findPackageJSON
Function · 0.70
run_main.js
File · 0.70
resolveMainPath
Function · 0.70
asyncRunEntryPointWithESMLoader
Function · 0.70
executeUserEntryPoint
Function · 0.70
customization_hooks.js
File · 0.70
loadWithHooks
Function · 0.70
helpers.js
File · 0.70
lazyModule
Function · 0.70
addBuiltinLibsToObject
Function · 0.70
getBuiltinModule
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…