{"name":"web3-providers-http","version":"1.7.0-rc.0","license":"LGPL-3.0","_id":"web3-providers-http@1.7.0-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":"e9178751fe2f64a8c73b85db4632fbed117766eb","tarball":"http://registry-npm.ywwl.com/web3-providers-http/download/web3-providers-http-1.7.0-rc.0.tgz","fileCount":10,"integrity":"sha512-r5OV7BmP7tzb+HKsNsezflnSbveSEohJvh6XAI79NfUrjeql6VJUAsddj7EKn/pUsyHa6n2Ju308T0Y8FiIayQ==","signatures":[{"sig":"MEYCIQDasWajtHCr/ggFThCa9Jgmzy7dkq7bucBbykDM2gsjCQIhAJ6tIifoT90HBauCRRw1tqdGNtE9ehaRyQAilqA+XMPn","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\nwsFcBAEBCAAQBQJhskiwCRA9TVsSAnZWagAA7GUP/jDSwNxasV/VF+zZbyJI\nNxxchmqFtNI/gw9ktYdek8LYrfk5waa6DVnpklYGYdfgIlr1FdMsmD/WFhrS\n2mVOYT9hlfOYgLdbagh/fJBZuKgyFNp36qdRHlDTxstkjH3WtwXOv6sIQao9\napk0XvT0NiFg3+1QFSTiV+CKn2XuenQXAl96G2bcYQj86KmFxE0tK2Y9HKow\nSmlDLowbLrCDfMG2sRzCFi0hSD1XkgS5GY+CNudo+/m16uTxUWEn+Nu8j2UJ\nxApNZfiaXpYha8VZdYDloU7fZJtUeQ8/n4MTkM/oirTrcXkW9k0pfbQwOCec\n/lJUOzJ+sis2caEQ/NQCEkM38N+Sx99F6seze8zn4xXsfnyQ4v0wnZAXd7pg\nwo1Jkn5TdNE5XgCsYSjPXmx5XnNMlIva48sKJ+nDDvA96H6GFXMQN89Roiv6\ns4C2EqIb1thpKXKo+9JSAum07NBwd7k3FhTVkfSrLb1B7nnlJFRA6S/LL4ri\n06gKYkeoKmgBhWwcU9f0mMM5ricLTAyxkhwRv8BIIzUSywQG1GGv8Vxw7hvP\nh1+8e/++mP+U7RWuaTaysVSaxA1L4tTt7IeQGoPLjm/PB8qtdogwQJrLeDNA\nSRhqlPk1yI9/kW0Vo+DnKRkLVtrEUquXNDvzPnRn0Pcd28KquSsysA33KoSs\nHZ52\r\n=Ui1T\r\n-----END PGP SIGNATURE-----\r\n","size":3737,"noattachment":false,"key":"/web3-providers-http/-/web3-providers-http-1.7.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":"bbb9cdf178a769565329ccabafb9ea1937a899c0","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.18.1+x64 (linux)","description":"Module to handle web3 RPC connections over HTTP.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"xhr2-cookies":"1.1.0","web3-core-helpers":"1.7.0-rc.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"dtslint":"^3.4.1","typescript":"^3.9.5"},"_npmOperationalInternal":{"tmp":"tmp/web3-providers-http_1.7.0-rc.0_1639073968259_0.8663768233766638","host":"s3://npm-registry-packages"},"publish_time":1639073968496,"_cnpm_publish_time":1639073968496,"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"}}