http-redirect

proxy requests to an ip-address or url

npm install http-redirect
6 downloads in the last week
12 downloads in the last month

http-redirect

(c)Bumblehead, 2012,2013 MIT-license

OVERVIEW:

proxy or redirect requests to an ip-address or url


INSTALL:

objobjwalk may be downloaded directly or installed through npm.

  • npm

    $ npm install http-redirect
    
  • Direct Download

    $ git clone https://github.com/iambumblehead/http-redirect.git
    $ cd http-redirect && npm install
    

GET STARTED:

Use http-redirect with express. Request a page on localhost:12345.

 var express = require('express'),
     HTTPRedirect = require('http-redirect'),
     app = express();

 HTTPRedirect.addExpressProxy(app, 'www.cryptogon.com', 80);
 app.listen(12345);

 console.log('begin proxy';)
npm loves you