this code is for educational purposes only. using it on production services will probably be against the service's ToS and get you banned.
ingress-proxy-public is a basic node.js HTTP proxy intercepting and modifying communication to specific backends in creative ways. read the source code for more details.