{"id":18706338,"url":"https://github.com/woai3c/npm-proxy-cli","last_synced_at":"2026-03-16T11:32:18.723Z","repository":{"id":62974274,"uuid":"563455130","full_name":"woai3c/npm-proxy-cli","owner":"woai3c","description":"可以方便的通过命令行开启/关闭 npm http/https 代理，不支持 socks5。","archived":false,"fork":false,"pushed_at":"2024-07-30T06:40:07.000Z","size":9,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-10T09:05:48.674Z","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/woai3c.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,"zenodo":null}},"created_at":"2022-11-08T16:42:31.000Z","updated_at":"2024-07-30T06:40:10.000Z","dependencies_parsed_at":"2024-07-30T10:08:24.996Z","dependency_job_id":null,"html_url":"https://github.com/woai3c/npm-proxy-cli","commit_stats":{"total_commits":3,"total_committers":1,"mean_commits":3.0,"dds":0.0,"last_synced_commit":"b7bcdd1c41256d2f1bf14e04c18e40be1fe15222"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/woai3c/npm-proxy-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/woai3c%2Fnpm-proxy-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/woai3c%2Fnpm-proxy-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/woai3c%2Fnpm-proxy-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/woai3c%2Fnpm-proxy-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/woai3c","download_url":"https://codeload.github.com/woai3c/npm-proxy-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/woai3c%2Fnpm-proxy-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000961,"owners_count":26082973,"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","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-07T12:13:52.204Z","updated_at":"2025-10-09T07:38:22.053Z","avatar_url":"https://github.com/woai3c.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# npm-proxy-cli\n可以方便的通过命令行开启/关闭 npm http/https 代理，不支持 socks5。\n## 使用\n安装\n```sh\nnpm i -g npm-proxy-cli\n```\n设置代理地址\n```shell\nnrp registry [url]\n# example: nrp registry http://127.0.0.1:7897\n```\n开启代理\n```sh\nnrp open\n```\n关闭代理\n```sh\nnrp close\n```\n开启代理后可以通过以下命令查看当前代理是否生效\n```sh\n# 查看当前 ip\ncurl myip.ipip.net\n# or\ncurl cip.cc\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwoai3c%2Fnpm-proxy-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwoai3c%2Fnpm-proxy-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwoai3c%2Fnpm-proxy-cli/lists"}