Node BrowserMob Proxy API
Installation command is
npm install browsermob-proxy-api
For the specifics of the REST API used by BrowserMob Proxy, please see their documentation.
To open a port (10800) and start a new HAR:
var MobProxy = ;var proxy = 'host':'localhost' 'port': '8080';// start listening on port 10800:proxy;
To get the current HAR from a previously opened port: