{"id":15675073,"url":"https://github.com/bubkoo/global-proxy","last_synced_at":"2025-05-06T21:45:53.910Z","repository":{"id":66336013,"uuid":"66955562","full_name":"bubkoo/global-proxy","owner":"bubkoo","description":"Set system proxy for mac and windows platform.","archived":false,"fork":false,"pushed_at":"2020-04-04T14:35:55.000Z","size":15,"stargazers_count":14,"open_issues_count":1,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-19T14:58:42.588Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/bubkoo.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}},"created_at":"2016-08-30T15:53:00.000Z","updated_at":"2023-12-28T12:33:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"99c8df38-0ea9-4a7b-bbef-2024afeba197","html_url":"https://github.com/bubkoo/global-proxy","commit_stats":{"total_commits":15,"total_committers":3,"mean_commits":5.0,"dds":0.1333333333333333,"last_synced_commit":"6ac4b652328db1bd75e4414e1f8ab81f922f26b1"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bubkoo%2Fglobal-proxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bubkoo%2Fglobal-proxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bubkoo%2Fglobal-proxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bubkoo%2Fglobal-proxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bubkoo","download_url":"https://codeload.github.com/bubkoo/global-proxy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252776470,"owners_count":21802460,"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-03T15:55:49.980Z","updated_at":"2025-05-06T21:45:53.866Z","avatar_url":"https://github.com/bubkoo.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# global-proxy\n\n\u003e Set system proxy for mac and windows platform.\n\n[![MIT License](https://img.shields.io/badge/license-MIT_License-green.svg?style=flat-square)](https://github.com/bubkoo/global-proxy/blob/master/LICENSE)\n\n\n## Installation\n\n```\n$ npm install --save global-proxy\n```\n\n\n## Usage\n\n```js\nimport globalProxy from 'global-proxy';\n\n\n// globalProxy.enable(hostname, port[, protocol])\nglobalProxy.enable('127.0.0.1', 9000, 'http')\n  .then((stdout) =\u003e {\n    console.log(stdout);\n  })\n  .catch((error) =\u003e {\n    console.log(error);\n  });\n\n\nglobalProxy.disable()\n  .then((stdout) =\u003e {\n    console.log(stdout);\n  })\n  .catch((error) =\u003e {\n    console.log(error);\n  });\n```\n\n## Related\n\n- [global-proxy-cli](https://github.com/bubkoo/global-proxy-cli) - cli for [global-proxy](https://github.com/bubkoo/global-proxy).\n\n\n## Contributing\n\nPull requests and stars are highly welcome.\n\nFor bugs and feature requests, please [create an issue](https://github.com/bubkoo/global-proxy/issues/new).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbubkoo%2Fglobal-proxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbubkoo%2Fglobal-proxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbubkoo%2Fglobal-proxy/lists"}