{"id":21982638,"url":"https://github.com/patrickpei/proxy-manager","last_synced_at":"2026-04-12T02:32:10.922Z","repository":{"id":69694812,"uuid":"117360807","full_name":"patrickpei/proxy-manager","owner":"patrickpei","description":"Simple synchronous Node library to handle proxies","archived":false,"fork":false,"pushed_at":"2018-01-13T19:44:11.000Z","size":7,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-18T12:27:06.842Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/patrickpei.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":"2018-01-13T16:52:17.000Z","updated_at":"2019-05-22T18:39:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"540a6557-b3f2-429e-9a1e-34ec334c930f","html_url":"https://github.com/patrickpei/proxy-manager","commit_stats":{"total_commits":5,"total_committers":1,"mean_commits":5.0,"dds":0.0,"last_synced_commit":"1e5719312a16edff7d450fecdf009c49c9b633e8"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrickpei%2Fproxy-manager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrickpei%2Fproxy-manager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrickpei%2Fproxy-manager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrickpei%2Fproxy-manager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/patrickpei","download_url":"https://codeload.github.com/patrickpei/proxy-manager/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245043432,"owners_count":20551789,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-29T17:30:09.772Z","updated_at":"2026-04-12T02:32:10.882Z","avatar_url":"https://github.com/patrickpei.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Proxy Manager\n[![Build Status](https://travis-ci.org/patrickpei/proxy-manager.svg?branch=master)](https://travis-ci.org/patrickpei/proxy-manager)\n[![NPM version](https://img.shields.io/npm/v/proxy-manager.svg)](https://www.npmjs.com/package/proxy-manager)\n\n\u003e Proxy Manager is a simple Node library to handle proxies. Currently, the API is completely synchronous.\n\n## Getting Started\n\n### Installation\n\n```sh\npnpm i proxy-manager\n# or \"yarn add proxy-manager\"\n# or \"npm i proxy-manager\"\n```\n\n### Usage\n\n**Example** - initialization\n```js\nconst ProxyManager = require('proxy-manager');\nconst proxyManager = new ProxyManager('proxies.txt');\n\nconst randomProxy = proxyManager.getRandomProxy();\n```\n\n**Example** - usage with requests-promise-native\n```js\nconst ProxyManager = require('proxy-manager');\nconst request = require('request-promise-native');\n\nconst proxyManager = new ProxyManager('proxies.txt');\nconst options = {\n    method: 'get',\n    proxy: proxyManager.getRandomProxy().toString()\n    uri: `\u003cexample.url\u003e`\n};\n\nconst res = await request(options);\n```\n\n### License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatrickpei%2Fproxy-manager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpatrickpei%2Fproxy-manager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatrickpei%2Fproxy-manager/lists"}