docs: function (name, prop) {
      if (mod._destroy) throw new ModHasBeenDestroyedError();
  
      let c = mod._cache[name];
      if (c && c.data) {
        let m = c.data;
        if (prop) {
          if (prop in m) {
            return m[prop];
          } else {
            throw new ModuleHasNoPropertyError(`module "${name}" has no property names "${prop}"`);
          }
        } else {
          return m;
        }
      } else {
        throw new RequireModuleError(`cannot require module "${name}"`);
      }
    }