{"id":15537686,"url":"https://github.com/atrue/node-proxy-switcher","last_synced_at":"2025-03-28T23:22:45.978Z","repository":{"id":198464327,"uuid":"608492537","full_name":"Atrue/node-proxy-switcher","owner":"Atrue","description":"conditional proxy switcher supporting WebSockets","archived":false,"fork":false,"pushed_at":"2023-03-02T06:19:50.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-18T08:07:05.726Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Atrue.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-03-02T05:59:28.000Z","updated_at":"2023-08-16T11:40:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"8658dd13-cf30-403a-a324-4a8b99492abe","html_url":"https://github.com/Atrue/node-proxy-switcher","commit_stats":null,"previous_names":["atrue/node-proxy-switcher"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Atrue%2Fnode-proxy-switcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Atrue%2Fnode-proxy-switcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Atrue%2Fnode-proxy-switcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Atrue%2Fnode-proxy-switcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Atrue","download_url":"https://codeload.github.com/Atrue/node-proxy-switcher/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246113145,"owners_count":20725393,"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-10-02T11:59:08.064Z","updated_at":"2025-03-28T23:22:45.951Z","avatar_url":"https://github.com/Atrue.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# node-proxy-switcher\nconditional proxy switcher supporting WebSockets\n\n## Run\n\u003e yarn start\n\n## API\n- `port` (default: 5050) - the port the proxy is running\n- `logging` (default: false) - enable logging of requests\n- `primary` - options of the primary target proxy https://github.com/http-party/node-http-proxy#options\n- `secondary` - options of the secondary target proxy https://github.com/http-party/node-http-proxy#options\n- `switcher` - conditional check which target to use (primary/secondary)\n- `onRequest` - modifying primary request, helpful to modify headers to avoid CORS ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatrue%2Fnode-proxy-switcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatrue%2Fnode-proxy-switcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatrue%2Fnode-proxy-switcher/lists"}