code: function load(mod) {
      if (typeof(mod.factory) === "function") {
        return require(mod.deps, mod.factory);
      }
      return mod.factory;
    }
docs: Load the module by calling its factory with the appropriate dependencies, if at all possible