0.0.1 • Published 10 months ago

wonhot-proxy v0.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
10 months ago

wonhot-proxy

desc:

// 万花筒代理服务器,支持静态资源代理访问,资源从写自定义埋点,主要用于配合wonhot框架,做资源代理,解决浏览器无法添加资源执行前钩子的问题

usage:

// server.js
import { openWonhotServer } from "wonhot-proxy";

openWonhotServer({ port: 9000 });
// 控制台启动服务器 node server.js
// 访问localhost:9000/{protocol}/{domain} 返回代理首页

then:

proxy.png

update log

v0.0.1 init (WeiOu weiou000@hotmail.com)