Hoxy
Description: Web-debugging proxy API for node.
Documentation: http://greim.github.io/hoxy/
var hoxy = require('hoxy');
var proxy = new hoxy.Proxy();
proxy.intercept({
phase: 'response',
mimeType: 'text/html',
as: '$'
}, function(req, resp){
resp.$('title').text('Unicorns.');
});
proxy.listen(8080);
Release notes:
- 1.0.1 Fixed bug with URL pattern matching, added filtering tests.
- 1.0.0 Initial release of Hoxy 1.0 rewrite.
Note: 1.x vs 0.x
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 is still in an experimental state, but as of Feb 2014, fully passes a decently large test suite.