index.js 571 B

1234567891011121314
  1. "use strict";
  2. var __importDefault = (this && this.__importDefault) || function (mod) {
  3. return (mod && mod.__esModule) ? mod : { "default": mod };
  4. };
  5. const agent_1 = __importDefault(require("./agent"));
  6. function createHttpProxyAgent(opts) {
  7. return new agent_1.default(opts);
  8. }
  9. (function (createHttpProxyAgent) {
  10. createHttpProxyAgent.HttpProxyAgent = agent_1.default;
  11. createHttpProxyAgent.prototype = agent_1.default.prototype;
  12. })(createHttpProxyAgent || (createHttpProxyAgent = {}));
  13. module.exports = createHttpProxyAgent;
  14. //# sourceMappingURL=index.js.map