# env-proxy-agent

> Maps environment variables to http.Agent implementations

Latest version **0.1.0** (published 2018-01-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install env-proxy-agent
pnpm add env-proxy-agent
yarn add env-proxy-agent
bun add env-proxy-agent
```

## 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 | 2018-01-09 |
| First published | 2018-01-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Author | Jack Cross |
| Maintainers | jayjaycross |

## Links

- npm: https://www.npmjs.com/package/env-proxy-agent
- Repository: https://github.com/crosscompile/env-proxy-agent
- Homepage: https://github.com/crosscompile/env-proxy-agent#readme
- Issues: https://github.com/crosscompile/env-proxy-agent/issues
- npm.io page: https://npm.io/package/env-proxy-agent

## Dependencies (2)

- [proxy-agent](https://npm.io/package/proxy-agent.md) ^2.1.0
- [proxy-from-env](https://npm.io/package/proxy-from-env.md) ^1.0.0

## Recent versions

- 0.1.0 (latest) — 2018-01-09

## README

# env-proxy-agent

Maps environment variables to http.Agent implementations using [proxy-from-env](https://github.com/Rob--W/proxy-from-env) and [proxy-agent](https://github.com/TooTallNate/node-proxy-agent).

## Example

```
import fetch from 'node-fetch';
import envProxyAgent from 'env-proxy-agent';

const endpoint = 'https://api.github.com/graphql';
fetch(endpoint, {
  agent: envProxyAgent(endpoint),
});
```

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