{"name":"web3-providers-http","version":"1.8.1-rc.0","license":"LGPL-3.0","_id":"web3-providers-http@1.8.1-rc.0","maintainers":[{"name":"nazarhussain86","email":"nazarhussain@gmail.com"},{"name":"jdevcs","email":"junaid@chainsafe.io"},{"name":"gregthegreek","email":"gregorymarkou@gmail.com"},{"name":"spacesailor","email":"signup@wyatt.email"}],"homepage":"https://github.com/ethereum/web3.js/tree/1.x#readme","bugs":{"url":"https://github.com/ethereum/web3.js/issues"},"dist":{"shasum":"d0d9cffeeebe5e0392d83e3c4bec9c5c94a6df97","tarball":"http://registry-npm.ywwl.com/web3-providers-http/download/web3-providers-http-1.8.1-rc.0.tgz","fileCount":10,"integrity":"sha512-0HB3gokbazwX66OOyQAdfVRhRfY9wc7it7+zM8o4V5yPx59D1hrWftv7/NGDU55r6f/8EMz/zAUWse0S42ek6A==","signatures":[{"sig":"MEYCIQDK2c6//dmOcXcGmJ1rhn/OR0oGHNyyXQj5bK1WmidfkwIhAIlqB3Vw5pCRnn+MLbd/Q3nbtva/K0NYjDI9taWCFdeD","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17275,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjW9p+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrtGw/+Ny0SjW5gv4zXlaQttc7bz00HyefWS60qKGIONrmtaQmgmsca\r\nO3zoq2Ncs6zUX9WsXvJBMV0dbQAXGDxNoJLjajJLH4GN8vIgkULcYZl1LbFx\r\nziBIAJw51hPWlSwW0TJZpfz0xdxVfcWN0ckI7PF4m4j9xmi3/ka41XMPLLIw\r\npy74NsaJcFsgxCW82jnUYTXMn2hfSUmEmtMaxWyhqzROV1OnPKVAXV6ala0y\r\no1NZpxamIvdd5THrI+L4htOg9yRyL3hEdKi6/3NlxsTMnFaSq77YxJGX+/KA\r\nGV0fzbh0PEpWOzR/5Mb/2kfAB4+k0poFeIhghoqRUmVQfWwIvKM/pbkz3uqx\r\n8l6LyQNHz3u8iCL/yyyJt6OEJottqLgYJHbytMPpLcbbYQh2DKZCCW7dIOfk\r\nBh6pv8YYzXGoAWg2EOes3Q6kMXVDukAx6hTN6ZhjwnCn7pSCp2qZiTSrFJSX\r\nQyuB4we1gt5C+m57RKi8aPCp3eCP7AtrGGYQytVyGAYUsu7pZdqe6u2+0irk\r\nK3EZf/6bgSyCzZm/AKvWUtjYXHewo7cLP/kdoMxpvVo1xmEApgJk6oMNc1LT\r\nCEsOBDHS0OE1SXu61QQorJsg7LF0/BKrrNBH9hFMaBmDtK7+VRdMXrKm+tHl\r\nA964iQPKv8QDZwb2+7V//9gJLdztkyRDIR8=\r\n=Sef3\r\n-----END PGP SIGNATURE-----\r\n","size":4088,"noattachment":false,"key":"/web3-providers-http/-/web3-providers-http-1.8.1-rc.0.tgz"},"main":"lib/index.js","types":"types/index.d.ts","readme":"# web3-providers-http\n\n[![NPM Package][npm-image]][npm-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\n","engines":{"node":">=8.0.0"},"gitHead":"751d85b0538c21159dd157cd9eb8336c3258281b","scripts":{"compile":"tsc -b tsconfig.json","dtslint":"dtslint --localTs ../../node_modules/typescript/lib types"},"_npmUser":{"name":"jdevcs","email":"junaid@chainsafe.io"},"repository":{"url":"git+https://github.com/ethereum/web3.js.git#1.x","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.20.0+x64 (darwin)","description":"Module to handle web3 RPC connections over HTTP.","directories":{},"_nodeVersion":"14.20.0","dependencies":{"cross-fetch":"^3.1.4","es6-promise":"^4.2.8","web3-core-helpers":"1.8.1-rc.0","abortcontroller-polyfill":"^1.7.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"dtslint":"^3.4.1","typescript":"^3.9.5"},"_npmOperationalInternal":{"tmp":"tmp/web3-providers-http_1.8.1-rc.0_1666964094158_0.28603295744267565","host":"s3://npm-registry-packages"},"publish_time":1666964094399,"_cnpm_publish_time":1666964094399,"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"}}