{"id":19621324,"url":"https://github.com/commenthol/undici-noproxy","last_synced_at":"2026-02-08T00:34:28.988Z","repository":{"id":57689857,"uuid":"473482451","full_name":"commenthol/undici-noproxy","owner":"commenthol","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-16T07:18:19.000Z","size":17,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-08T22:52:20.420Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/commenthol.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-03-24T06:25:21.000Z","updated_at":"2025-01-16T07:18:21.000Z","dependencies_parsed_at":"2024-11-11T11:23:54.837Z","dependency_job_id":"696fb26f-4120-47bc-a90f-6cd1b3b3f5cf","html_url":"https://github.com/commenthol/undici-noproxy","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/commenthol/undici-noproxy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/commenthol%2Fundici-noproxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/commenthol%2Fundici-noproxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/commenthol%2Fundici-noproxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/commenthol%2Fundici-noproxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/commenthol","download_url":"https://codeload.github.com/commenthol/undici-noproxy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/commenthol%2Fundici-noproxy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29214394,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-08T00:10:47.190Z","status":"ssl_error","status_checked_at":"2026-02-08T00:10:43.589Z","response_time":63,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-11T11:22:22.080Z","updated_at":"2026-02-08T00:34:28.972Z","avatar_url":"https://github.com/commenthol.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# undici-noproxy\n\n\u003e no_proxy ProxyAgent for undici\n\nAn [undici ProxyAgent](https://undici.nodejs.org/#/docs/api/ProxyAgent) which considers `http(s)_proxy` and `no_proxy` env-vars or settings. \n\n# usage\n\n```\nnpm i undici-noproxy\n```\n\n## proxy settings in code\n\n```js\nimport { request } from 'undici'\nimport { NoProxyAgent } from 'undici-noproxy'\n\nconst proxyAgent = new NoProxyAgent({\n  uri: 'http://my-http.proxy',\n  protocol: 'http',\n  noProxy: 'localhost,.my.domain'\n})\n\nconst res = await request('https://httpbin.org/anything', { dispatcher: proxyAgent })\nconst json = await res.body.json()\nproxyAgent.close()\n```\n\n## proxy settings via env vars\n\n```\nhttp_proxy=http://my-http.proxy\nno_proxy=localhost,.my.domain\n```\n\n`NoProxyAgent` considers the settings from the given env-vars...\n\n```js\nimport { request } from 'undici'\nimport { NoProxyAgent } from 'undici-noproxy'\n\nconst proxyAgent = new NoProxyAgent()\n\nconst res = await request('https://httpbin.org/anything', { dispatcher: proxyAgent })\nconst json = await res.body.json()\nproxyAgent.close()\n```\n\n## with global dispatcher\n\n```js\nimport { fetch, setGlobalDispatcher } from 'undici'\nimport { NoProxyAgent } from 'undici-noproxy'\nconst proxyAgent = new NoProxyAgent()\n\nsetGlobalDispatcher(proxyAgent)\n\nconst res = await fetch(url)\nconst json = await res.json()\n```\n\n\n# license\n\nMIT licensed\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcommenthol%2Fundici-noproxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcommenthol%2Fundici-noproxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcommenthol%2Fundici-noproxy/lists"}