This project looks exactly like what I was looking for, but I got nothing to work.
It seems to be a general issue, with CircleCI on a fork of the current master failing as well: https://circleci.com/gh/motin/harmon/1
npm test
> harmon@1.3.2 test /home/ubuntu/harmon
> node test/host.js
BODY: <html><head></head><body><div class="a">Nodejitsu Http Proxy</div><div class="b">& Frames</div></body></html>
assert.js:89
throw new assert.AssertionError({
^
AssertionError: '<html><head></head><body><div>Harmon Middleware</div><div>+ Trumpet</div></body></html>' == '<html><head></head><body><div class="a">Nodejitsu Http Proxy</div><div class="b">& Frames</div></body></html>'
at IncomingMessage.<anonymous> (/home/ubuntu/harmon/test/host.js:79:14)
at emitNone (events.js:72:20)
at IncomingMessage.emit (events.js:166:7)
at endReadableNT (_stream_readable.js:905:12)
at nextTickCallbackWith2Args (node.js:441:9)
at process._tickCallback (node.js:355:17)
npm ERR! Test failed. See above for more details.
npm test returned exit code 1
I tried node versions 8, 4 and 0.10 to no avail.
This project looks exactly like what I was looking for, but I got nothing to work.
It seems to be a general issue, with CircleCI on a fork of the current master failing as well: https://circleci.com/gh/motin/harmon/1
I tried node versions 8, 4 and 0.10 to no avail.