npm install parallel-proxy -g
Proxy uses rc for config. For example, you can put the .proxyrc config file to a top level folder:
It will open the proxy on 2803 port, will forward all input traffic to a production localhost:80 server and to a development server localhost:81, all output traffic will be forwarded from the production server localhost:80, and all output tfaffic from the delepment server localhost:81 will be dropped.
parallel-proxy --config conf.json
npm install sdt