# popsicle-proxy-agent

> Enable proxy support for Popsicle (for node)

Latest version **3.0.0** (published 2016-07-14) · Apache-2.0 license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

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

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 3.0.0 |
| Published | 2016-07-14 |
| First published | 2016-02-01 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 (+4 in 2 direct dependencies) |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Blake Embrey |
| Maintainers | blakeembrey |
| Keywords | popsicle, proxy, agent, http, https |

## Links

- npm: https://www.npmjs.com/package/popsicle-proxy-agent
- Repository: https://github.com/blakeembrey/popsicle-proxy-agent
- Issues: https://github.com/blakeembrey/popsicle-proxy-agent/issues
- npm.io page: https://npm.io/package/popsicle-proxy-agent

## Dependencies (2)

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

## Recent versions

- 3.0.0 (latest) — 2016-07-14
- 2.0.2 — 2016-06-20
- 2.0.1 — 2016-05-10
- 2.0.0 — 2016-05-08
- 1.0.0 — 2016-02-01

## README

# Popsicle Proxy Agent

[![NPM version](https://img.shields.io/npm/v/popsicle-proxy-agent.svg?style=flat)](https://npmjs.org/package/popsicle-proxy-agent)
[![NPM downloads](https://img.shields.io/npm/dm/popsicle-proxy-agent.svg?style=flat)](https://npmjs.org/package/popsicle-proxy-agent)
[![Build status](https://img.shields.io/travis/blakeembrey/popsicle-proxy-agent.svg?style=flat)](https://travis-ci.org/blakeembrey/popsicle-proxy-agent)
[![Test coverage](https://img.shields.io/coveralls/blakeembrey/popsicle-proxy-agent.svg?style=flat)](https://coveralls.io/r/blakeembrey/popsicle-proxy-agent?branch=master)
[![Greenkeeper badge](https://badges.greenkeeper.io/blakeembrey/popsicle-proxy-agent.svg)](https://greenkeeper.io/)

> Generic proxy agent (for Popsicle and node.js).

## Installation

```sh
npm install popsicle-proxy-agent --save
```

## Usage

```js
var popsicle = require('popsicle')
var createProxy = require('popsicle-proxy-agent')

var proxy = createProxy({
  proxy: '...'
})

popsicle.get({
  url: 'http://example.com',
  transport: popsicle.createTransport({
    agent: proxy('http://example.com')
  })
})
```

### Options

* **proxy** The default HTTP(s) proxy to use
* **httpProxy** The proxy for HTTP requests (default: `process.env.HTTP_PROXY`)
* **httpsProxy** The proxy for HTTPS requests (default: `process.env.HTTPS_PROXY`)
* **noProxy** A string of space-separated hosts to not proxy (default: `process.env.NO_PROXY`)

## License

Apache 2.0

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