{"_id":"@didux-io/web3-providers-http-web","_rev":"1-f17ba8fc6594caec121037a29ec9b989","name":"@didux-io/web3-providers-http-web","dist-tags":{"latest":"1.0.0-beta.53"},"versions":{"1.0.0-beta.53":{"name":"@didux-io/web3-providers-http-web","namespace":"ethereum","version":"1.0.0-beta.53","description":"Module to handle web3 RPC connections over HTTP.","repository":{"type":"git","url":"https://github.com/ethereum/web3.js/tree/master/packages/web3-providers-http"},"license":"LGPL-3.0","main":"src/index.js","dependencies":{"@didux-io/web3-core-helpers":"1.0.0-beta.53","xhr2-cookies":"1.1.0"},"_id":"@didux-io/web3-providers-http-web@1.0.0-beta.53","_npmVersion":"6.1.0","_nodeVersion":"10.6.0","_npmUser":{"name":"danielsmilo","email":"daniel@smilo.io"},"dist":{"integrity":"sha512-iwG6FYce2cnKqKGa5E2fiRUPQTi9JOwEUlsCav0/FaQ3Uuq3Bg5ovwHSV69gdECo7hx7KfKH8I+E5BDoFLrFTA==","shasum":"027ec7f3d42c6e80007d2eeef753beeb9e4bfdad","tarball":"https://registry.npmjs.org/@didux-io/web3-providers-http-web/-/web3-providers-http-web-1.0.0-beta.53.tgz","fileCount":3,"unpackedSize":4638,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd5lcWCRA9TVsSAnZWagAA1Y0QAJ6jg2GgT3aW/GKZOPIN\nWsifu4WvnuGWS+qeXnnPqN/d1euJbTs042l2vc0uK3E5Efl5aLV9wd04/MQf\ntMjMyds3ZFnIUoe0BvoPPHfRIdNwJAEwCMFu9uey79Mxxd7sNG+sPeVZEZFD\nbKPQTLKtMsS2VnyH+M6X0sY70aNy+I7cijBiQrL2Tdx9JSHGQEyknEhmIEwy\nAwyQEDbZjRDSiT17Z2SYG1yxFt1a/QneA88Eg33X/wz1B0CZItMbIBAoQkty\n7C8+LYtdBKjcUmhZeMpRHDi+pQYNo5yyLiLiBNTLLdNbNt6NMXURGyXKI5Tz\ng0iWGdi/umZXD8lozO7+aIPix1LgtZG1NUXKLMd788ZV2Laa1PWyJNkg5lgC\nZ9vE/slUDXndAdoj8xYsg0hwENq70MFWWoxUMV36ujWPGS1ysr3bblZxm3fb\nuc0W4y6rtDJchGbsJ06xL4q3tWevHq3P6pImtF2lWkU7NYGLva4S5N42ztZ5\nT0LTxbooeAONZzFJ5+o/J5BPnNh12NFj4ivHvx8rU3xZrdkZVbgzrqFIS74q\n/pswFFPOc0DR1fAfRdcC7JjBN81bLJcpFYhShVpGabQtsLQNNcPbXvX/K9DG\ngWFn0fIUsl47gj0EEdawAjTSJUX/Yr3NMFBxeQe8idvHZ+0c+mACpZc80P50\njdfr\r\n=M69d\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDOB+hpf1GuCgXkgDkifjrRafppX10Im82icDZaYyJMDAIhALEp4aKoVMMkgrjcq+q4lprwif0MfJ1FsXr2TCAL3lUq"}]},"maintainers":[{"name":"elkan","email":"info@smilo.io"},{"name":"danielsmilo","email":"daniel@smilo.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/web3-providers-http-web_1.0.0-beta.53_1575376662522_0.7424382402774201"},"_hasShrinkwrap":false}},"time":{"created":"2019-12-03T12:37:42.288Z","1.0.0-beta.53":"2019-12-03T12:37:42.681Z","modified":"2022-04-05T04:23:53.833Z"},"maintainers":[{"name":"elkan","email":"info@smilo.io"},{"name":"danielsmilo","email":"daniel@smilo.io"}],"description":"Module to handle web3 RPC connections over HTTP.","repository":{"type":"git","url":"https://github.com/ethereum/web3.js/tree/master/packages/web3-providers-http"},"license":"LGPL-3.0","readme":"# web3-providers-http\n\n*This is a sub package of [web3.js][repo]*\n\nThis is a HTTP provider for [web3.js][repo].   \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### In the Browser\n\nBuild running the following in the [web3.js][repo] repository:\n\n```bash\nnpm run-script build-all\n```\n\nThen include `dist/web3-providers-http.js` in your html file.\nThis will expose the `Web3HttpProvider` object on the window object.\n\n\n## Usage\n\n```js\n// in node.js\nvar Web3HttpProvider = require('@didux-io/web3-providers-http');\n\nvar options = {\n    timeout: 20000, // milliseconds,\n    headers: [{name: 'Access-Control-Allow-Origin', value: '*'},{...}]\n};\nvar http = new Web3HttpProvider('http://localhost:8545', options);\n```\n\n\n[docs]: http://web3js.readthedocs.io/en/1.0/\n[repo]: https://github.com/ethereum/web3.js\n\n\n","readmeFilename":"README.md"}