{"_id":"caw","_rev":"12196","name":"caw","description":"Construct HTTP/HTTPS agents for tunneling proxies","dist-tags":{"latest":"2.0.1"},"maintainers":[{"name":"kevva","email":""}],"time":{"modified":"2021-06-03T09:58:09.000Z","created":"2015-07-31T11:13:40.648Z","2.0.1":"2017-07-20T12:14:05.130Z","2.0.0":"2016-05-21T16:46:18.219Z","1.2.0":"2015-12-07T13:27:35.927Z","1.1.0":"2015-08-04T11:57:31.721Z","1.0.2":"2015-08-03T07:28:50.441Z","1.0.1":"2015-07-31T11:51:22.933Z","1.0.0":"2015-07-31T11:13:40.648Z"},"users":{"tobiasnickel":true,"nickeltobias":true,"antixrist":true,"floriannagel":true,"g120hbq":true},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"github.com/kevva"},"repository":{"type":"git","url":"git+https://github.com/kevva/caw.git"},"versions":{"2.0.1":{"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":{"shasum":"6c3ca071fc194720883c2dc5da9b074bfc7e9e95","size":1977,"noattachment":false,"key":"/caw/-/caw-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/caw/download/caw-2.0.1.tgz"},"maintainers":[{"name":"kevva","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/caw-2.0.1.tgz_1500552843880_0.6940787979401648"},"directories":{},"publish_time":1500552845130,"_hasShrinkwrap":false,"_cnpm_publish_time":1500552845130},"2.0.0":{"name":"caw","version":"2.0.0","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":"^1.0.1","tunnel-agent":"^0.4.0"},"devDependencies":{"ava":"*","get-port":"^2.1.0","got":"^6.3.0","pify":"^2.3.0","proxyquire":"^1.7.9","sinon":"^1.17.4","xo":"*"},"xo":{"esnext":true,"rules":{"ava/no-skip-test":0}},"gitHead":"c718aaa6a69dfc43938675d65810cb1f75c74b14","bugs":{"url":"https://github.com/kevva/caw/issues"},"homepage":"https://github.com/kevva/caw#readme","_id":"caw@2.0.0","_shasum":"11f8bddc2f801469952d5e3225ba98495a2fa0ff","_from":".","_npmVersion":"3.8.8","_nodeVersion":"5.11.0","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"dist":{"shasum":"11f8bddc2f801469952d5e3225ba98495a2fa0ff","size":1923,"noattachment":false,"key":"/caw/-/caw-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/caw/download/caw-2.0.0.tgz"},"maintainers":[{"name":"kevva","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/caw-2.0.0.tgz_1463849177171_0.4310116625856608"},"directories":{},"publish_time":1463849178219,"_cnpm_publish_time":1463849178219,"_hasShrinkwrap":false},"1.2.0":{"name":"caw","version":"1.2.0","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 && tap test/test.js -t2"},"engines":{"node":">=0.10.0"},"files":["index.js"],"keywords":["http","https","proxy","tunnel"],"dependencies":{"get-proxy":"^1.0.1","is-obj":"^1.0.0","object-assign":"^3.0.0","tunnel-agent":"^0.4.0"},"devDependencies":{"proxyquire":"^1.6.0","sinon":"^1.15.4","tap":"^1.3.1","xo":"*"},"gitHead":"1225bbe63a786885835ccae84699baf68010b88d","bugs":{"url":"https://github.com/kevva/caw/issues"},"homepage":"https://github.com/kevva/caw#readme","_id":"caw@1.2.0","_shasum":"ffb226fe7efc547288dc62ee3e97073c212d1034","_from":".","_npmVersion":"3.5.1","_nodeVersion":"5.1.1","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"dist":{"shasum":"ffb226fe7efc547288dc62ee3e97073c212d1034","size":1887,"noattachment":false,"key":"/caw/-/caw-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/caw/download/caw-1.2.0.tgz"},"maintainers":[{"name":"kevva","email":""}],"directories":{},"publish_time":1449494855927,"_cnpm_publish_time":1449494855927,"_hasShrinkwrap":false},"1.1.0":{"name":"caw","version":"1.1.0","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 && tap test/test.js -t2"},"engines":{"node":">=0.10.0"},"files":["index.js"],"keywords":["http","https","proxy","tunnel"],"dependencies":{"get-proxy":"^1.0.1","is-obj":"^1.0.0","object-assign":"^3.0.0","tunnel-agent":"^0.4.0"},"devDependencies":{"proxyquire":"^1.6.0","sinon":"^1.15.4","tap":"^1.3.1","xo":"*"},"gitHead":"e9209ecff97784d3834ff3ff8880a5d33a1eca83","bugs":{"url":"https://github.com/kevva/caw/issues"},"homepage":"https://github.com/kevva/caw#readme","_id":"caw@1.1.0","_shasum":"8e0c4d014ce87e1c2aea5d0cd10403ccc18c302f","_from":".","_npmVersion":"3.1.2","_nodeVersion":"2.5.0","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"maintainers":[{"name":"kevva","email":""}],"dist":{"shasum":"8e0c4d014ce87e1c2aea5d0cd10403ccc18c302f","size":1895,"noattachment":false,"key":"/caw/-/caw-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/caw/download/caw-1.1.0.tgz"},"directories":{},"publish_time":1438689451721,"_cnpm_publish_time":1438689451721,"_hasShrinkwrap":false},"1.0.2":{"name":"caw","version":"1.0.2","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 && tap test.js -t2"},"engines":{"node":">=0.10.0"},"files":["index.js"],"keywords":["http","https","proxy","tunnel"],"dependencies":{"get-proxy":"^1.0.1","is-obj":"^1.0.0","object-assign":"^3.0.0","tunnel-agent":"^0.4.0"},"devDependencies":{"tap":"^1.3.1","xo":"*"},"gitHead":"8222babcdea17f23eed091d0d94c4f3872e0c2b5","bugs":{"url":"https://github.com/kevva/caw/issues"},"homepage":"https://github.com/kevva/caw#readme","_id":"caw@1.0.2","_shasum":"c842d3d5c6fff0bb9675e200f8712cc83c468fcb","_from":".","_npmVersion":"3.1.2","_nodeVersion":"2.3.0","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"maintainers":[{"name":"kevva","email":""}],"dist":{"shasum":"c842d3d5c6fff0bb9675e200f8712cc83c468fcb","size":1868,"noattachment":false,"key":"/caw/-/caw-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/caw/download/caw-1.0.2.tgz"},"directories":{},"publish_time":1438586930441,"_cnpm_publish_time":1438586930441,"_hasShrinkwrap":false},"1.0.1":{"name":"caw","version":"1.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":"tap test.js -t2"},"engines":{"node":">=0.10.0"},"files":["index.js"],"keywords":["http","https","proxy","tunnel"],"dependencies":{"get-proxy":"^1.0.1","object-assign":"^3.0.0","tunnel-agent":"^0.4.0"},"devDependencies":{"tap":"^1.3.1"},"gitHead":"0aca5ce5cfeb12fbcbbf7c61fb7925243cd1f024","bugs":{"url":"https://github.com/kevva/caw/issues"},"homepage":"https://github.com/kevva/caw#readme","_id":"caw@1.0.1","_shasum":"78fd463276b134e8c663bbfac430ec3d2d983435","_from":".","_npmVersion":"3.1.2","_nodeVersion":"2.3.0","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"maintainers":[{"name":"kevva","email":""}],"dist":{"shasum":"78fd463276b134e8c663bbfac430ec3d2d983435","size":1769,"noattachment":false,"key":"/caw/-/caw-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/caw/download/caw-1.0.1.tgz"},"directories":{},"publish_time":1438343482933,"_cnpm_publish_time":1438343482933,"_hasShrinkwrap":false},"1.0.0":{"name":"caw","version":"1.0.0","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":"tap test.js -t2"},"engines":{"node":">=0.10.0"},"files":["index.js"],"keywords":["http","https","proxy","tunnel"],"dependencies":{"get-proxy":"^1.0.1","object-assign":"^3.0.0","tunnel-agent":"^0.4.0"},"devDependencies":{"tap":"^1.3.1"},"gitHead":"bf5d0159f5402da0fa6124b43be6c6d2b970ec92","bugs":{"url":"https://github.com/kevva/caw/issues"},"homepage":"https://github.com/kevva/caw#readme","_id":"caw@1.0.0","_shasum":"93c5213e6af9fd7dc633ba64b24a71e83ffda30b","_from":".","_npmVersion":"3.1.2","_nodeVersion":"2.3.0","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"maintainers":[{"name":"kevva","email":""}],"dist":{"shasum":"93c5213e6af9fd7dc633ba64b24a71e83ffda30b","size":1775,"noattachment":false,"key":"/caw/-/caw-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/caw/download/caw-1.0.0.tgz"},"directories":{},"publish_time":1438341220648,"_cnpm_publish_time":1438341220648,"_hasShrinkwrap":false}},"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","_attachments":{},"homepage":"https://github.com/kevva/caw#readme","bugs":{"url":"https://github.com/kevva/caw/issues"},"license":"MIT"}