A man-in-the-middle (mitm) proxy that impersonates the target site and allows you to modify the target's http response before sending it back to the client.
Should you use this module?
You should use this module if you are interested in changing the HTML of any site on the internet. I am using it to inject a custom script into sites that I do not own, this makes it easier for me to test my code on mobile browsers, before I deploy my changes to my script to these 3rd parties.
Download node at nodejs.org and install it, if you haven't already.
npm install neo-proxy --save
var neoProxy =
rewriteUrlsHost option to pass in either
localhost or the explicit local IP where Neo Proxy is running to make it easier to navigate by clicking on links in the page. This feature is particularly useful when the proxy is accessed from a mobile device that is on the same Local Network as the machine that runs your proxy server since the mobile device's
localhost is different (since it is not the same machine).
example.js for a more full-fledged version.