# proxy-http-request

> Features:

Latest version **0.1.0** (published 2015-05-11) · ISC license · 0 weekly downloads

## Install

```sh
npm install proxy-http-request
pnpm add proxy-http-request
yarn add proxy-http-request
bun add proxy-http-request
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2015-05-11 |
| First published | 2015-03-10 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Julien Fontanet |
| Maintainers | julien-f |
| Keywords | proxy, http, https, request |

## Links

- npm: https://www.npmjs.com/package/proxy-http-request
- Repository: https://github.com/julien-f/nodejs-proxy-http-request/issues
- Homepage: https://github.com/julien-f/nodejs-proxy-http-request
- Issues: https://github.com/julien-f/nodejs-proxy-http-request/issues
- npm.io page: https://npm.io/package/proxy-http-request

## Dependencies (1)

- [debug](https://npm.io/package/debug.md) ^2.1.2

## Alternatives

- [launchdarkly-js-client-sdk](https://npm.io/package/launchdarkly-js-client-sdk.md) — 2.5M weekly downloads
- [@elastic/elasticsearch](https://npm.io/package/@elastic/elasticsearch.md) — 2.1M weekly downloads
- [@c8y/client](https://npm.io/package/@c8y/client.md) — 15.3K weekly downloads
- [@signaldb/maverickjs](https://npm.io/package/@signaldb/maverickjs.md) — 1.7K weekly downloads
- [@bbc/http-transport-cache](https://npm.io/package/@bbc/http-transport-cache.md) — 1.2K weekly downloads

## Recent versions

- 0.1.0 (latest) — 2015-05-11
- 0.0.2 — 2015-03-27
- 0.0.1 — 2015-03-10
- 0.0.0 — 2015-03-10

## README

# proxy-http-request

Features:

- easy to use
- support HTTPs
- debug traces via [debug](https://github.com/visionmedia/debug/)

## Install

```
> npm i install --save proxy-http-request
```

## Usage

```javascript
var proxyHttpRequest = require('proxy-http-request');
var http = require('http');

http.createServer(function (req, res) {

  // Redirect all incoming request to example.org.
  proxyHttpRequest('http://example.org' + req.url, req, res);
}).listen(8000);
```

```
> DEBUG=proxyHttpRequest node example.js
  proxyHttpRequest parsing URL http://example.org/foo +0ms
  proxyHttpRequest proxying GET http://example.org/foo +8ms
```

---
_Source: https://npm.io/package/proxy-http-request · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
