MCPcopy
hub / github.com/ilearnio/module-alias / getMainModule

Function getMainModule

index.js:215–217  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

213}
214
215function getMainModule () {
216 return require.main._simulateRepl ? undefined : require.main
217}
218
219module.exports = init
220module.exports.addPath = addPath

Callers 2

addPathFunction · 0.85
resetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected