catproxy
a node proxy or host change tools
Last updated a month ago by jianxcao .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install catproxy 
SYNC missed versions from official npm registry.

#catproxy

在工作中是否经常遇到这种情况,需要将cdn的host切换成本地测试,或者线上出现bug,需要修复时候需要将前端文件映射到本地,这个时候通常会用到代理工具 fiddler或charles。

无论charles或者fiddler都可以切换host,但是都只能将一个host完整的切换过去,并不能按照目录区分切换

catproxy为解决这些问题而出

主要功能

  • 完成页面资源从本地和服务器端映射
  • 针对不同的资源做不同的ip映射
  • 提供ui界面去修改映射关系
  • 支持https的映射
  • 支持对请求数据的监控
  • 支持weinre的注入
  • 可做代理服务器使用

原理

将host配置成127.0.0.1或者设置当前设备的代理为catproxy的http服务器(包括端口和ip) 设置后所有请求都会被catproxy接管,catproxy会根据配置文件去请求响应配置的数据,实现对请求的代理

说明文档

版本更新

License

MIT

Current Tags

  • 1.2.16                                ...           latest (a month ago)

26 Versions

  • 1.2.16                                ...           a month ago
  • 1.2.15                                ...           a month ago
  • 1.2.14                                ...           8 months ago
  • 1.2.13                                ...           2 years ago
  • 1.2.12                                ...           2 years ago
  • 1.2.11                                ...           2 years ago
  • 1.2.10                                ...           3 years ago
  • 1.2.9                                ...           3 years ago
  • 1.2.8                                ...           3 years ago
  • 1.2.7                                ...           3 years ago
  • 1.2.6                                ...           3 years ago
  • 1.2.5                                ...           3 years ago
  • 1.2.4                                ...           3 years ago
  • 1.2.3                                ...           3 years ago
  • 1.2.2                                ...           3 years ago
  • 1.2.1                                ...           3 years ago
  • 1.2.0                                ...           3 years ago
  • 1.1.1                                ...           3 years ago
  • 1.1.0                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
  • 0.0.6                                ...           3 years ago
  • 0.0.5                                ...           3 years ago
  • 0.0.4                                ...           3 years ago
  • 0.0.3                                ...           3 years ago
  • 0.0.2                                ...           3 years ago
  • 0.0.1                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 26
This Month 27
Last Day 0
Last Week 1
Last Month 30
Dependencies (26)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |