0.3.3 • Published 11 years ago

intercept-proxy v0.3.3

Weekly downloads
58
License
-
Repository
github
Last release
11 years ago

#Intercept Proxy

##Usage By pointing the proxy server at a url and running the app, you can surf the targeted site through localhost:

var proxy = require('intercept-proxy');
proxy.createServer('google.com');
proxy.listen(1337);

##Intercepting with locals By adding files to /local/path, those files will replace the onse from the original site.

##Intercepting with handlers (planned) I plan to make intercepting available through custom handlers. The idea is that you register a handler and a pattern for which requests it should handle.

proxy.registerHandler({ url: '/foo/bar', method: 'POST', payload: '<xml />' }, function(req, res) { res.end('foo'); });

##Why? Beacuse I needed it for a project :)

0.3.3

11 years ago

0.3.2

11 years ago

0.3.1

12 years ago

0.3.0

12 years ago

0.2.4

12 years ago

0.2.3

12 years ago

0.2.2

12 years ago

0.2.1

12 years ago

0.2.0

12 years ago

0.1.8

12 years ago

0.1.7

12 years ago

0.1.6

12 years ago

0.1.5

12 years ago

0.1.4

12 years ago

0.1.3

12 years ago

0.1.2

12 years ago

0.1.1

12 years ago

0.1.0

12 years ago