{"_id":"http-https-agent","_rev":"5-e112f0f84596267ae070ea2ee6c390dd","name":"http-https-agent","description":"Get either a HTTP or HTTPS agent depending on protocol","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"http-https-agent","version":"1.0.0","description":"Get either a HTTP or HTTPS agent depending on protocol","main":"dist/index.js","scripts":{"test":"xo","build":"rm -rf dist && mkdir -p dist && babel lib --out-dir dist","watch":"rm -rf dist && mkdir -p dist && babel -w lib --out-dir dist","prepublish":"npm run build"},"repository":{"type":"git","url":"git+https://github.com/kesla/http-https-agent.git"},"author":{"name":"David Björklund","email":"david.bjorklund@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/kesla/http-https-agent/issues"},"homepage":"https://github.com/kesla/http-https-agent#readme","devDependencies":{"babel-cli":"^6.10.1","xo":"^0.16.0"},"dependencies":{"lodash.startswith":"^4.1.0"},"xo":{"esnext":true,"space":true},"gitHead":"ac3be95460e4074508f2cff58ffb66da275f5f45","_id":"http-https-agent@1.0.0","_shasum":"d37ace6e87d2eee9490ed917bc2fd3d584a27932","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"kesla","email":"david.bjorklund@gmail.com"},"dist":{"shasum":"d37ace6e87d2eee9490ed917bc2fd3d584a27932","tarball":"https://registry.npmjs.org/http-https-agent/-/http-https-agent-1.0.0.tgz","integrity":"sha512-c9fT9lOWDMEldCNip83R1P6QQ/Bg6TkLeOyXSf6qYpYzW0nSKQYlR/FSryNk4hDmh2Me+HuL54gzukA7w+518A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAgNJRsEv44tLQ7DjvvvAnHk3gBnvY7k3tniVsFd5PlHAiAxUBqUbdNyNk7nOB7pl0BD+wuvxprgKx3fbyVajXwTmg=="}]},"maintainers":[{"name":"kesla","email":"david.bjorklund@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/http-https-agent-1.0.0.tgz_1468534787259_0.05381861049681902"}},"1.0.1":{"name":"http-https-agent","version":"1.0.1","description":"Get either a HTTP or HTTPS agent depending on protocol","main":"dist/index.js","scripts":{"test":"xo","build":"rm -rf dist && mkdir -p dist && babel lib --out-dir dist","watch":"rm -rf dist && mkdir -p dist && babel -w lib --out-dir dist","prepublish":"npm run build","posttest":"readme package.json > readme.md"},"repository":{"type":"git","url":"git+https://github.com/kesla/http-https-agent.git"},"author":{"name":"David Björklund","email":"david.bjorklund@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/kesla/http-https-agent/issues"},"homepage":"https://github.com/kesla/http-https-agent#readme","devDependencies":{"babel-cli":"^6.10.1","package-json-to-readme":"^1.5.1","xo":"^0.16.0"},"dependencies":{"lodash.startswith":"^4.1.0"},"xo":{"esnext":true,"space":true},"gitHead":"29362f09f654829fc7f9ab845871959442d777d2","_id":"http-https-agent@1.0.1","_shasum":"cb4369fddb5baee677a0d570d4a52e9e50934e84","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"kesla","email":"david.bjorklund@gmail.com"},"dist":{"shasum":"cb4369fddb5baee677a0d570d4a52e9e50934e84","tarball":"https://registry.npmjs.org/http-https-agent/-/http-https-agent-1.0.1.tgz","integrity":"sha512-s1wWoDuyKYZ282gVn1YQ/AgU3FtSGtOcLQws3jp7/BSne95dO/eDKIQGbUQSO9CNrl6GTNFUXoWcM4kLwCxSdw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCJg7AsYlxBJ4B4WVF6CvFxxwl8HI1m44Zg3oh0mFW9SwIhALvscgpKISpiP9CHffRIxGY4JUd3Mr/UBLkFzIX90gF4"}]},"maintainers":[{"name":"kesla","email":"david.bjorklund@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/http-https-agent-1.0.1.tgz_1468535068816_0.8468290963210166"}},"1.0.2":{"name":"http-https-agent","version":"1.0.2","description":"Get either a HTTP or HTTPS agent depending on protocol","main":"dist/index.js","scripts":{"test":"xo","build":"rm -rf dist && mkdir -p dist && babel lib --out-dir dist","watch":"rm -rf dist && mkdir -p dist && babel -w lib --out-dir dist","prepublish":"npm run build","posttest":"readme package.json > readme.md"},"repository":{"type":"git","url":"git+https://github.com/kesla/http-https-agent.git"},"author":{"name":"David Björklund","email":"david.bjorklund@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/kesla/http-https-agent/issues"},"homepage":"https://github.com/kesla/http-https-agent#readme","devDependencies":{"babel-cli":"^6.10.1","babel-preset-es2015-node4":"2.1.0","package-json-to-readme":"^1.5.1","xo":"^0.16.0"},"dependencies":{"lodash.startswith":"^4.1.0"},"xo":{"esnext":true,"space":true},"gitHead":"bc7a15afb894b488297170be018a1ea3e829192b","_id":"http-https-agent@1.0.2","_shasum":"38d014b4ede65b827ff75d170f16aac377f6e034","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"kesla","email":"david.bjorklund@gmail.com"},"dist":{"shasum":"38d014b4ede65b827ff75d170f16aac377f6e034","tarball":"https://registry.npmjs.org/http-https-agent/-/http-https-agent-1.0.2.tgz","integrity":"sha512-L4k0/BaeJtPbEBxqUw57+gGWviX/Qk8RU3muFtB8aj8xF5p16OKW8a17+BOxr7QFtLPFOhFC9X6u7/IDGQQawA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD9Icz3qK8A3BNSqWi3a5p8BE77LDyFV3SlOAgWFA3TIQIgd1gVhztNgx7kRe3/a+Uhlg8C0UEQjcTnqgJb8+CZOSo="}]},"maintainers":[{"name":"kesla","email":"david.bjorklund@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/http-https-agent-1.0.2.tgz_1468535581795_0.7563253282569349"}}},"readme":"# http-https-agent \n\nGet either a HTTP or HTTPS agent depending on protocol\n\n## Installation\n\nDownload node at [nodejs.org](http://nodejs.org) and install it, if you haven't already.\n\n```sh\nnpm install http-https-agent --save\n```\n\n## Usage\n\n```js\n/* eslint-disable no-unused-vars */\n/* eslint-disable import/no-extraneous-dependencies */\nimport httpHttpsAgent from 'http-https-agent';\n\nconst getAgent = httpHttpsAgent({\n  keepAlive: true\n});\n\nconst httpsAgent = getAgent('https://google.com');\nconst httpAgent = getAgent('http://google.com');\n\n```\n\n## Tests\n\n```sh\nnpm install\nnpm test\n```\n\n## Dependencies\n\n- [lodash.startswith](): The lodash method `_.startsWith` exported as a module.\n\n## Dev Dependencies\n\n- [babel-cli](https://github.com/babel/babel/tree/master/packages): Babel command line.\n- [package-json-to-readme](https://github.com/zeke/package-json-to-readme): Generate a README.md from package.json contents\n- [xo](https://github.com/sindresorhus/xo): JavaScript happiness style linter ❤️\n\n\n## License\n\nMIT\n\n_Generated by [package-json-to-readme](https://github.com/zeke/package-json-to-readme)_\n","maintainers":[{"name":"kesla","email":"david.bjorklund@gmail.com"}],"time":{"modified":"2022-06-18T22:12:14.686Z","created":"2016-07-14T22:19:49.841Z","1.0.0":"2016-07-14T22:19:49.841Z","1.0.1":"2016-07-14T22:24:31.429Z","1.0.2":"2016-07-14T22:33:04.302Z"},"homepage":"https://github.com/kesla/http-https-agent#readme","repository":{"type":"git","url":"git+https://github.com/kesla/http-https-agent.git"},"author":{"name":"David Björklund","email":"david.bjorklund@gmail.com"},"bugs":{"url":"https://github.com/kesla/http-https-agent/issues"},"license":"MIT","readmeFilename":"readme.md"}