@ryanburnette/express-hard-proxy

1.1.1 • Public • Published

express-hard-proxy

Middleware for making a hard proxy to something. It rewites the host header. It only supports HTTP. Its use should probably be avoided if possible.

It shouldn't be specific to Express, but I haven't tested that.

Express Example

var express = require('express')
var proxyTo = require('@ryanburnette/express-hard-proxy')

var app = express()

app.use(proxyTo('http://www.something.com'))

app.listen(3000)

Readme

Keywords

none

Package Sidebar

Install

npm i @ryanburnette/express-hard-proxy

Weekly Downloads

1

Version

1.1.1

License

ISC

Unpacked Size

2.67 kB

Total Files

6

Last publish

Collaborators

  • ryanburnette