http-redirect

0.0.7 • Public • Published

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';)

Readme

Keywords

Package Sidebar

Install

npm i http-redirect

Weekly Downloads

27

Version

0.0.7

License

none

Last publish

Collaborators

  • bumblehead