code: function makeRequire(m, self) {
      function _require(_path) {
          return m.require(_path);
      }
  
      _require.resolve = function(request) {
          return _module._resolveFilename(request, self);
      };
      _require.cache = _module._cache;
      _require.extensions = _module._extensions;
  
      return _require;
  }
docs: Basically takes the place of Module.prototype._compile, with some features stripped out