{"name":"caw","version":"2.0.1","description":"Construct HTTP/HTTPS agents for tunneling proxies","license":"MIT","repository":{"type":"git","url":"git+https://github.com/kevva/caw.git"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"github.com/kevva"},"scripts":{"test":"xo && ava"},"engines":{"node":">=4"},"files":["index.js"],"keywords":["http","https","proxy","tunnel"],"dependencies":{"get-proxy":"^2.0.0","isurl":"^1.0.0-alpha5","tunnel-agent":"^0.6.0","url-to-options":"^1.0.1"},"devDependencies":{"ava":"*","create-cert":"^1.0.4","get-port":"^3.1.0","got":"^7.0.0","pify":"^3.0.0","proxyquire":"^1.7.9","sinon":"^2.3.1","universal-url":"1.0.0-alpha","xo":"*"},"xo":{"rules":{"ava/no-skip-test":0}},"gitHead":"f6ff9bf5565d72e15baae2468c5447b556c145eb","bugs":{"url":"https://github.com/kevva/caw/issues"},"homepage":"https://github.com/kevva/caw#readme","_id":"caw@2.0.1","_npmVersion":"5.0.3","_nodeVersion":"8.1.4","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"dist":{"integrity":"sha512-Cg8/ZSBEa8ZVY9HspcGUYaK63d/bN7rqS3CYCzEGUxuYv6UlmcjzDUz2fCFFHyTvUW5Pk0I+3hkA3iXlIj6guA==","shasum":"6c3ca071fc194720883c2dc5da9b074bfc7e9e95","tarball":"http://registry-npm.ywwl.com/caw/download/caw-2.0.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEMCIE10Kt2FM5ePtAXQJDZ/poa91+WGHnvREEg0uCAmjnUCAh96KBrEh12yGq1RoyBoFw0D8vW1isFgEhFRXU96PZw3"}],"size":1977,"noattachment":false,"key":"/caw/-/caw-2.0.1.tgz"},"maintainers":[{"name":"kevva","email":"kevinmartensson@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/caw-2.0.1.tgz_1500552843880_0.6940787979401648"},"directories":{},"readme":"# caw [![Build Status](https://travis-ci.org/kevva/caw.svg?branch=master)](https://travis-ci.org/kevva/caw)\n\n> Construct HTTP/HTTPS agents for tunneling proxies\n\n\n## Install\n\n```\n$ npm install caw\n```\n\n\n## Usage\n\n```js\nconst caw = require('caw');\nconst got = require('got');\n\ngot('todomvc.com', {\n\tagent: caw()\n}, () => {});\n```\n\n\n## API\n\n### caw([proxy], [options])\n\n#### proxy\n\nType: `string`\n\nProxy URL. If not set, it'll try getting it using [`get-proxy`](https://github.com/kevva/get-proxy).\n\n#### options\n\nType: `Object`\n\nBesides the options below, you can pass in options allowed in [tunnel-agent](https://github.com/request/tunnel-agent).\n\n##### protocol\n\nType: `string`<br>\nDefault: `http`\n\nEndpoint protocol.\n\n\n## License\n\nMIT © [Kevin Mårtensson](https://github.com/kevva)\n","publish_time":1500552845130,"_cnpm_publish_time":1500552845130,"dist-tags":{"latest":"2.0.1"}}