Socket
Socket
Sign inDemoInstall

caw

Package Overview
Dependencies
13
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    caw

Construct HTTP/HTTPS agents for tunneling proxies


Version published
Weekly downloads
1.2M
increased by1.7%
Maintainers
1
Install size
167 kB
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Last updated on 20 Jul 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc