2.0.3 • Published 4 years ago

fire-proxy v2.0.3

Weekly downloads
4
License
ISC
Repository
github
Last release
4 years ago

Fire Proxy

fire-proxy is a nodejs module for HTTP proxy library for Express JS. It using request to steam incoming request to the destination server.

Install

$ npm install --save fire-proxy

Example

const app = express();
const fireProxy = require("fire-proxy");
app.use("./api", fireProxy({
    target: "http://www.google.com.hk" // and other options
}));

Options

  • target - the target URL you want to forward to
  • timeout - integer containing the number of milliseconds to wait for a server to send response headers (and start the response body) before aborting the request. For more detail, click here
  • maxRedirects - the maximum number of redirects to follow, For more detail, click here

TODO:

  • more request option
  • better documentation
  • handle cookies
2.0.3

4 years ago

2.0.2

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.0.11

5 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago