Simple HTTP proxy server module

CoffeeScript HTTP Proxy

Simple HTTP proxy server module.

Modules are written in CoffeeScript. Proxy module itself is only about 100 lines. (See src/

The proxy module supports:

  • Proxy HTTP and HTTPS protocols
  • Proxying via proxy server
  • Customize destination, next proxy or reject according to request header
  • Customize logging
proxy = require 'coffee-http-proxy'
server = proxy.createServer()
server.listen 8000->
  console.log 'Listening on port'8000
var proxy = require('coffee-http-proxy');
var server = proxy.createServer();
server.listen(8000, function() {
  console.log('Listening on port', 8000);

For detail usage, see src/

Simple proxy server with command line options and logging feature.

node lib/simple-proxy [--port 8000] [--proxy host:port] [--verbose]