{"name":"@pnpm/network.proxy-agent","version":"1100.0.0","keywords":["pnpm","pnpm11","agent","network","proxy"],"license":"MIT","_id":"@pnpm/network.proxy-agent@1100.0.0","maintainers":[{"name":"pnpmuser","email":"publish-bot@pnpm.io"},{"name":"zkochan","email":"z@kochan.io"}],"homepage":"https://github.com/pnpm/pnpm/tree/main/pnpm11/network/proxy-agent#readme","bugs":{"url":"https://github.com/pnpm/pnpm/issues"},"dist":{"shasum":"5406bf118f3f22b99e166222f58290553196c5f9","tarball":"http://registry-npm.ywwl.com/@pnpm/network.proxy-agent/download/@pnpm/network.proxy-agent-1100.0.0.tgz","fileCount":8,"integrity":"sha512-rWdOuOZ4e3BjGALNSnSWRMtGBYh69Jaj1CdMpFPxLr2NVK+tCuPhM81sGuslp7YccISpNT27Fw2QVabn6WLw6A==","signatures":[{"sig":"MEQCIACajeXJ0RE0w3ni22rwzn15f2kVWXBB72mCA7wGLTXgAiB186/jKLrRlEHvr84UOCcCUHpyna+oAmlDDk1lftezCg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQDNGaPVtn4qBvp5gtcX+vjuf220fZh7mPsyjdQZzXHxCwIgMaLcWokDpeiznXoalIp8wDLWIWtrXpf4hBD8+ovZjJM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@pnpm%2fnetwork.proxy-agent@1100.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":10061,"size":4236,"noattachment":false,"key":"/@pnpm/network.proxy-agent/-/@pnpm/network.proxy-agent-1100.0.0.tgz"},"jest":{"preset":"@pnpm/jest-config"},"main":"lib/index.js","type":"module","types":"lib/index.d.ts","engines":{"node":">=22.13"},"exports":{".":"./lib/index.js"},"funding":"https://opencollective.com/pnpm","scripts":{"lint":"eslint \"src/**/*.ts\" \"test/**/*.ts\"","test":"pn compile && pn .test",".test":"cross-env NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules --disable-warning=ExperimentalWarning --disable-warning=DEP0169\" jest","compile":"tsgo --build && pn lint --fix"},"_npmUser":{"name":"pnpmuser","email":"publish-bot@pnpm.io"},"repository":{"url":"https://github.com/pnpm/pnpm/tree/main/pnpm11/network/proxy-agent","type":"git"},"description":"Creates an http/s/socks proxy agent","directories":{},"dependencies":{"lru-cache":"^11.5.3","@pnpm/error":"1100.2.1","http-proxy-agent":"^7.0.2","https-proxy-agent":"^7.0.6","socks-proxy-agent":"^8.0.5"},"_hasShrinkwrap":false,"devDependencies":{"proxy":"^4.1.0","@jest/globals":"30.4.1","@pnpm/network.proxy-agent":"1100.0.0"},"_npmOperationalInternal":{"tmp":"tmp/network.proxy-agent_1100.0.0_1790579719532_0.5296909178789542","host":"s3://npm-registry-packages-npm-production"},"readme":"# @pnpm/network.proxy-agent\n\n> Creates an http/s/socks proxy agent\n\nCreate a http/s/socks proxy agent from uri and options.\nThis is usually used from within the `agent` component, to create an agent or proxy agent according to the config.\n\nThe return agent will match the proxy protocol (http / https / socks).\n\nAPI:\n```js\nfunction getProxyAgent(uri: string, opts: AgentOptions)\n```\n\nAvailable configuration (AgentOptions):\n\n```js\n  /**\n   * A proxy server for out going network requests by the package manager\n   * Used for both http and https requests (unless the httpsProxy is defined)\n   */\n  httpProxy?: string;\n\n  /**\n   * A proxy server for outgoing https requests by the package manager (fallback to proxy server if not defined)\n   * Use this in case you want different proxy for http and https requests.\n   */\n  httpsProxy?: string;\n\n  /**\n   * A path to a file containing one or multiple Certificate Authority signing certificates.\n   * allows for multiple CA's, as well as for the CA information to be stored in a file on disk.\n   */\n  ca?: string;\n\n  /**\n   * Whether or not to do SSL key validation when making requests to the registry via https\n   */\n  strictSsl?: string;\n\n  /**\n   * A client certificate to pass when accessing the registry. Values should be in PEM format (Windows calls it \"Base-64 encoded X.509 (.CER)\") with newlines replaced by the string \"\\n\". For example:\n   * cert=\"-----BEGIN CERTIFICATE-----\\nXXXX\\nXXXX\\n-----END CERTIFICATE-----\"\n   * It is not the path to a certificate file (and there is no \"certfile\" option).\n   */\n  cert?: string;\n\n  /**\n   * A client key to pass when accessing the registry. Values should be in PEM format with newlines replaced by the string \"\\n\". For example:\n   * key=\"-----BEGIN PRIVATE KEY-----\\nXXXX\\nXXXX\\n-----END PRIVATE KEY-----\"\n   * It is not the path to a key file (and there is no \"keyfile\" option).\n   */\n  key?: string;\n```\n\n## License\n\nMIT\n","publish_time":1790579719623,"_cnpm_publish_time":1790579719623,"dist-tags":{"latest":"1100.0.1"}}