{"name":"web3-providers-http","version":"1.5.3-rc.0","license":"LGPL-3.0","_id":"web3-providers-http@1.5.3-rc.0","maintainers":[{"name":"ralxz","email":"ryan@ryanio.com"},{"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":"56ee28db8ea9df48277c1a6d81c6a91befa55f86","tarball":"http://registry-npm.ywwl.com/web3-providers-http/download/web3-providers-http-1.5.3-rc.0.tgz","fileCount":10,"integrity":"sha512-BFddxO856BlbFFhs1gsAberDwCQlrJQ1CjQtow133f1RhXzO2YmHLCbUkDbMma0FmcnSTDc3HolbcrMCyhKFjw==","signatures":[{"sig":"MEYCIQCTuEv1Oy/FQ6L72I1AB5bFu8uoBzpA7Ff1CwobR+mPSgIhALwdiAsh1Oj3Pm8SEqy6TmCl/GwkYuH4KktStg5vfsPZ","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\nwsFcBAEBCAAQBQJhO7WTCRA9TVsSAnZWagAAlo4P/j8JFz3QBQ0cifZtYFaS\nFkoMfWycHKkMXhPtuEkpEQBilAT4+4uhF9FylvuJfnFc9MrOEwNtDX02Qyor\nM6TZy6nnVDcjvjodFZFRiS1oEdF4aWLNyB0pp1pUZeRZUnKJY3zGJs9J26/k\npGQ9SAhhRwlya9RpUUC422iUQ1ioKx793o66LQI0E29y4kWhko01/3oBeuwQ\nPWovs+cN6Ar7CTdQCbCsOI01ORSF6c0fki8tbfn3DPyc3iaiY59wtC3PYGPa\nJXHGGnfMzya12sgVFPDNO9U3bxbEywqeEvLhR8S00hx5j1Ves1l/aG+AhH1F\np8+fNJwzbM18wgrHoWKrLLAd6nZPg9GHrji/VhbwoSXDAajLT2DZRtodtkxB\ntunJ+/G0COyd7W3fXnzv4JdvmYcLHbt8wgqjk23H5zSj3WKfhb6v26YtLyU/\nO+sDdg8XTPa9ssfBMZxW9of9b5bqqQUN4e2f6THT2TEpusfa7TiaAy+nfoxi\nTZ6mboAyQvxdPYKAeT8QEFPhPqBp76IdMBM+J+E0f6eteDHfiWKmuylYouwa\nzGBVtL/oAR0GYQGHbqxnaw8U3HcMb6aCD+ywtUlI65KYTTAbiUU8l+wOX59X\ncDcA92VH7Scq5G6oHJRNKF0t2DpV1mB6VC7yRJlXYJgV081z71+kKz3pk1yV\nons5\r\n=t8jA\r\n-----END PGP SIGNATURE-----\r\n","size":3739,"noattachment":false,"key":"/web3-providers-http/-/web3-providers-http-1.5.3-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":"7fcb2ff5504921097591882f7d72bbf8d24f71b4","scripts":{"compile":"tsc -b tsconfig.json","dtslint":"dtslint --localTs ../../node_modules/typescript/lib types"},"_npmUser":{"name":"spacesailor","email":"signup@wyatt.email"},"repository":{"url":"git+https://github.com/ethereum/web3.js.git#1.x","type":"git"},"_npmVersion":"lerna/4.0.0/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":"1.5.3-rc.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"dtslint":"^3.4.1","typescript":"^3.9.5"},"_npmOperationalInternal":{"tmp":"tmp/web3-providers-http_1.5.3-rc.0_1631303059867_0.8622043023184776","host":"s3://npm-registry-packages"},"publish_time":1631303059990,"_cnpm_publish_time":1631303059990,"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"}}