{"name":"web3-providers-http","version":"3.0.0-rc.0","license":"LGPL-3.0","_id":"web3-providers-http@3.0.0-rc.0","maintainers":[{"name":"ralxz","email":"ryan@ryanio.com"},{"name":"spacesailor","email":"signup@wyatt.email"},{"name":"gregthegreek","email":"gregorymarkou@gmail.com"}],"dist":{"shasum":"45721d0ccd6f6329113b256bdb19476c7c447710","tarball":"http://registry-npm.ywwl.com/web3-providers-http/download/web3-providers-http-3.0.0-rc.0.tgz","fileCount":10,"integrity":"sha512-n9PB9n8hZDtAeoNA9HzAZKzhra/4dPWDmsZLsFc5KpgHCLatj6uH0poPL6pr4iDmdJCVzHfCrVOouuW3BNT9zQ==","signatures":[{"sig":"MEUCIQC3q8rNsQWfxTLBiJk7umSj1MPdaOLWNRgzfJAQtIeeHgIgHLfWKWVsgkK1gV5wPX6Fu/bCb11Kj0Sf7uMPRnDZ/QI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15203,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgb+CZCRA9TVsSAnZWagAAsS0P/iqKdigw0R8DkWwBmkkt\n6i1oXTyX5tRHkSlqEIQUXoo9kJ76YvSvW4GiX/RbJBMcNH5bma/e1XCWh9L9\nffPHZSDIt/isj9MO7O821BY5I4fXX5iMSLWY7GKlgmWCiFgnwzEhelEOOLuh\nu/ThVUVQBgt9UUWxe8zyzcVycOTUczf7HWFyuvBxCLWGiBpsnVohW52xDYqN\no8b0x+vLABfp8fLLFKzg1ZEQt3T8eNbboifGGZTE8KQFE5aL74bQpA1C8KvC\npObritGer52AqeyT2ooM6ln+RNPPIjnRel4NY9fwqtAvuSZ+YudZxdGN0y0v\nrwBAIn5y1DQl5IAEF6P8jVl3EyZb0vBrIC/Mfe774LSUr3x8PbfIJvd6isAm\n71k9yIh4ogNt0J7id0AfBHtQ3oaJU7wsuCP6ua+nQoKc3zGuPHpO2gGE7U6o\n1DsuPj/kGz+2jnB4v2Fxqcc6bduHi7qh4B3IASBefKhUyl7TcGIq9K21u7vQ\n15nJIj+3+J56qVKwrZ3FPcsqQ4YgoAvkhxiZURu9srbFdXP7enon81mQfr67\nIbZugrUxt63+WrA01ll7XsInKaltz6QjWxhfS0QZkCtFgrFpi2smNmcQlwZ2\nFcvr/9zftA+1GWxLW/uFBTuC36lzS3fufYnZs5tHS5YfEq+WGMYprJS2XvFS\n0BEl\r\n=tNRB\r\n-----END PGP SIGNATURE-----\r\n","size":3737,"noattachment":false,"key":"/web3-providers-http/-/web3-providers-http-3.0.0-rc.0.tgz"},"main":"lib/index.js","types":"types/index.d.ts","readme":"# web3-providers-http\n\n[![NPM Package][npm-image]][npm-url] [![Dependency Status][deps-image]][deps-url] [![Dev Dependency Status][deps-dev-image]][deps-dev-url]\n\nThis is a HTTP provider sub-package for [web3.js][repo].\n\nPlease read the [documentation][docs] for more.\n\n## Installation\n\n### Node.js\n\n```bash\nnpm install web3-providers-http\n```\n\n## Usage\n\n```js\nconst http = require('http');\nconst Web3HttpProvider = require('web3-providers-http');\n\nconst options = {\n    keepAlive: true,\n    timeout: 20000, // milliseconds,\n    headers: [{name: 'Access-Control-Allow-Origin', value: '*'},{...}],\n    withCredentials: false,\n    agent: {http: http.Agent(...), baseUrl: ''}\n};\n\nconst provider = new Web3HttpProvider('http://localhost:8545', options);\n```\n\n## Types\n\nAll the TypeScript typings are placed in the `types` folder.\n\n[docs]: http://web3js.readthedocs.io/en/1.0/\n[repo]: https://github.com/ethereum/web3.js\n[npm-image]: https://img.shields.io/npm/dm/web3-providers-http.svg\n[npm-url]: https://npmjs.org/package/web3-providers-http\n[deps-image]: https://david-dm.org/ethereum/web3.js/1.x/status.svg?path=packages/web3-providers-http\n[deps-url]: https://david-dm.org/ethereum/web3.js/1.x?path=packages/web3-providers-http\n[deps-dev-image]: https://david-dm.org/ethereum/web3.js/1.x/dev-status.svg?path=packages/web3-providers-http\n[deps-dev-url]: https://david-dm.org/ethereum/web3.js/1.x?type=dev&path=packages/web3-providers-http\n","engines":{"node":">=8.0.0"},"gitHead":"4c88fbc94d1348dfa412ebdefa1d34e50f509977","scripts":{"compile":"tsc -b tsconfig.json","dtslint":"dtslint --localTs ../../node_modules/typescript/lib types"},"_npmUser":{"name":"spacesailor","email":"signup@wyatt.email"},"repository":{"url":"https://github.com/ethereum/web3.js/tree/1.x/packages/web3-providers-http","type":"git"},"_npmVersion":"lerna/3.22.1/node@v14.16.0+x64 (linux)","description":"Module to handle web3 RPC connections over HTTP.","directories":{},"_nodeVersion":"14.16.0","dependencies":{"xhr2-cookies":"1.1.0","web3-core-helpers":"3.0.0-rc.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"dtslint":"^3.4.1","typescript":"^3.9.5"},"_npmOperationalInternal":{"tmp":"tmp/web3-providers-http_3.0.0-rc.0_1617944728916_0.14899880991253212","host":"s3://npm-registry-packages"},"publish_time":1617944729050,"_cnpm_publish_time":1617944729050,"dist-tags":{"dev":"4.2.1-dev.bf16917.0","latest":"4.2.0","legacy":"1.10.4","legacy-dev":"1.10.4-dev.0","rc":"4.0.4-rc.0","rc-legacy":"1.10.1-rc.0"}}