
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
doio-proxy
Advanced tools
基于doio框架的快速代理,基于消息头的host实现,同时支持多路径匹配转发,不同路径可以对应不同的后台服务。
npm i doio-proxy
'use strict';
const doio = require('doio');
const doioproxy = require('doio-proxy');
let hostcfg = {
//会自动转换为数组的形式,默认path为 /
'a.com' : 'http://localhost:8001',
//会自动转换为数组的形式
'b.com' : {
path : '/xyz',
url : 'http://localhost:8002'
},
//标准形式
'c.com' : [
{
path : '/name',
url : 'http://localhost:8003'
},
{
path : '/',
url : 'http://localhost:8004'
}
]
};
const app = new doio();
const proxy = new doioproxy({
host : hostcfg
});
proxy.init(app);
//输出路由表
app.printRoute();
//监听2000端口,启用2个worker子进程处理请求
app.daemon(2000, 2);
FAQs
fast proxy for doio and titbit
We found that doio-proxy demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.