caw
Construct HTTP/HTTPS agents for tunneling proxies
Last updated 9 years ago by kevva .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install caw 
SYNC missed versions from official npm registry.

caw Build Status

Construct HTTP/HTTPS agents for tunneling proxies

Install

$ npm install caw

Usage

const caw = require('caw');
const got = require('got');

got('todomvc.com', {
	agent: caw()
}, () => {});

API

caw([proxy], [options])

proxy

Type: string

Proxy URL. If not set, it'll try getting it using get-proxy.

options

Type: Object

Besides the options below, you can pass in options allowed in tunnel-agent.

protocol

Type: string
Default: http

Endpoint protocol.

License

MIT © Kevin Mårtensson

Current Tags

  • 2.0.1                                ...           latest (9 years ago)

7 Versions

  • 2.0.1                                ...           9 years ago
  • 2.0.0                                ...           10 years ago
  • 1.2.0                                ...           10 years ago
  • 1.1.0                                ...           11 years ago
  • 1.0.2                                ...           11 years ago
  • 1.0.1                                ...           11 years ago
  • 1.0.0                                ...           11 years ago
Maintainers (1)
Downloads
Today 0
This Week 2
This Month 8
Last Day 0
Last Week 6
Last Month 1
Dependencies (4)
Dev Dependencies (9)
Dependents (3)

Copyright 2013 - present © cnpmjs.org | Home |