function _getModules() {
  if (!moduleCache) {
    moduleCache = collectModules();
  }
  return moduleCache;
}
Fetches the list of modules and the versions loaded by the entry file for your node.js app.