Web-hacking proxy API for node
Description: Web-debugging proxy API for node.
npm install hoxy
var hoxy = require'hoxy';var proxy = ;proxyinterceptphase: 'response'mimeType: 'text/html'as: '$'resp$'title'text'Unicorns.';;proxylisten8080;// now proxy your client through localhost:8080
npm testinstead of
close()method now passes args through to server close. Thanks Seth Holladay.
listen()accept same args as native
server.listen()instead of just port. Thanks Seth Holladay.
tee()method to requests and responses, and accompanying tests.
If you're looking for the old command line version of hoxy, it's branched as
v0.2.x in this repository and still available on npm.
Continued updates to that branch are unlikely.
1.x is an overhaul of the project. 1.x is a programming API, whereas 0.x was a command line utility. 1.x fully passes a decently large test suite.