proxy.stream
It's a nodejs proxy, implemented steam interface, supports socks4, socks4a, socks5 and http.
How to use
Install by $ npm install proxy.stream
Use new Proxy({ type: 'direct' })
to create a proxy stream.
Example 1: direct access
It start an proxy on port 2000;
var net = ;var Proxy = Proxy;net;
Example 2: access throw another proxy
It turns the socks5 proxy [localhost:2000] to another proxy supports http/socks4/socks5!
var net = ;var Proxy = Proxy;net;
Example 3: qproxy
Proxy based on WebSocket. Source
More
This is a stream, it can be used simply in multiple scenarios.