{"id":20720205,"url":"https://github.com/zaaack/node-proxy-dev","last_synced_at":"2025-06-10T14:36:49.029Z","repository":{"id":65476763,"uuid":"45889803","full_name":"zaaack/node-proxy-dev","owner":"zaaack","description":"a proxy server wrapper for front end development, easy to modify or replace remote files","archived":false,"fork":false,"pushed_at":"2015-11-14T09:35:54.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-10T01:07:18.197Z","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/zaaack.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}},"created_at":"2015-11-10T05:33:58.000Z","updated_at":"2016-11-15T01:40:16.000Z","dependencies_parsed_at":"2023-01-25T06:25:10.837Z","dependency_job_id":null,"html_url":"https://github.com/zaaack/node-proxy-dev","commit_stats":null,"previous_names":["yzhen123/node-proxy-dev"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaaack%2Fnode-proxy-dev","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaaack%2Fnode-proxy-dev/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaaack%2Fnode-proxy-dev/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaaack%2Fnode-proxy-dev/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zaaack","download_url":"https://codeload.github.com/zaaack/node-proxy-dev/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zaaack%2Fnode-proxy-dev/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":258990247,"owners_count":22789079,"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-17T03:19:38.089Z","updated_at":"2025-06-10T14:36:48.997Z","avatar_url":"https://github.com/zaaack.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# node-proxy-dev\na proxy server wrapper for frontend development, easy to modify or replace remote files. Thanks for the great package [node-http-proxy](https://github.com/nodejitsu/node-http-proxy)\n\n## INSTALL\n\n```sh\nnpm i -g proxy-dev\n```\n\n## USAGE\nYou can use this package by cli parameters or config file, and use `pd` for shotcut of `proxy-dev`\n\n### cli\n\nlike the example below, you start a proxy server and target to website `https://github.com`, `-o/--open` means auto open browser. you can use 'proxy-dev -h' to see all available options.\n```sh\nproxy-dev -t https://github.com -o\n```\n\n\n\n### config file\n\nuse 'proxy-dev -i' to generate a config file in current directory, it will be load automatically if it exists.\n\nit's a js module file like below:\n\n```js\nmodule.exports = {\n  'target': 'https://yzhen123.github.io/',\n  'port': 8000,\n  replaceRules: [{\n      regex: /\u003cp(.*?)\u003e(.*?)\u003c\\/p\u003e/g,\n      replace: '\u003cp$1\u003eI have being replaced, plz go to \u003ca href=\"https://yzhen123.github.io/\"\u003ereal site\u003c/a\u003e\u003c/p\u003e'\n    }],\n  rawMiddlewares: [function (rep, res, next) {\n    next()\n  }],\n  // custome confit for node-http-proxy, see https://github.com/nodejitsu/node-http-proxy\n  httpProxyConfig: { },\n  noCache: true,\n  open: true\n}\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzaaack%2Fnode-proxy-dev","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzaaack%2Fnode-proxy-dev","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzaaack%2Fnode-proxy-dev/lists"}