{"name":"web3-providers-http","version":"1.3.4-rc.2","license":"LGPL-3.0","_id":"web3-providers-http@1.3.4-rc.2","maintainers":[{"name":"ralxz","email":"ryan@ryanio.com"},{"name":"holgerd77","email":"Holger.Drewes@gmail.com"},{"name":"gregthegreek","email":"gregorymarkou@gmail.com"}],"dist":{"shasum":"2cb0e23ba2b66faef415c656ec1625cbedd10325","tarball":"http://registry-npm.ywwl.com/web3-providers-http/download/web3-providers-http-1.3.4-rc.2.tgz","fileCount":10,"integrity":"sha512-0qmbnv2oC6JqlPGvzV4IklMOwZaZouRF/YPf6tsKVmU8EIRZq6idjgtWFpqj2swVHeheSrnbEuyVuCPCCW7Rsg==","signatures":[{"sig":"MEQCICXpgcF/aejMjykiOQf2QgXLP/NmgqkdCF0U9OfqN3WLAiBhM63EjBfLLYn6Ov0mQiGpYqfzemlJkOvjdw6AupceSg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15199,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgE0G2CRA9TVsSAnZWagAAesMP/3QONiDuBpvVaVnQtKGp\nLUd3afROlhcCLYcIpxUcIw02ebSgb1fx1Sp0wTGxOKPPCw3vfJNH31jy1cko\nNGIyIYdbVewQgKkZgn3ITe1Ow4h9RjaQ8oEWPMZXT6AnEmFmzE0CzbvE+NSA\nHHrz2xVR2GsWH+ng1NGpjAwHD8h58+jVIua3Aa4QOpDXG1/xGVAP5Le0uy8n\nBXVroLfoAgHcCxhkb06WAOjQNxnfvHAADEHFL2RetJnN866d26PqREOxnBXc\nG41trKreR2zoFDKj4Vv20I6o4FwEgYEYt7bnv4odBXalnH6kMqvRlkt0jZ7/\nBJA3ed0UV9q0458043TT/DWXTazFMsUao8d4tokYDv9iCyDs5ecSUD8/y8dq\nBzK56EKs0V1VlfHQK8JA/fn8C4vJ8iqUk7OsKUCv33mPpQwkSH+XFxZRa5v3\nFSG2FAey4ukcCS4heUam5cO88T1PwbfN6imS3bVyR1CbMDcezomhbFbPq7Rt\nbpzLiho/5cUXktkWsDrs7FMtL6W5dPzriPbu5jow94BE1dadMkUO9lppmkv5\nzLGv+redT5LgFZpOlba7mLVmBNRdW3uxRGH+2SVEOxruvb3OdPUsQuFnX/VG\nV7GDSs8vuwubdj+6indgka6mliFSsh5fjR6Q3IupSS433rR03lllQj+ybIN0\nzj/O\r\n=+LUY\r\n-----END PGP SIGNATURE-----\r\n","size":3740,"noattachment":false,"key":"/web3-providers-http/-/web3-providers-http-1.3.4-rc.2.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":"f72f828dd14dc1377bb45867b76829210bc5f482","scripts":{"tsc":"tsc -b tsconfig.json","dtslint":"dtslint --localTs ../../node_modules/typescript/lib types"},"_npmUser":{"name":"gregthegreek","email":"gregorymarkou@gmail.com"},"repository":{"url":"https://github.com/ethereum/web3.js/tree/1.x/packages/web3-providers-http","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.1+x64 (linux)","description":"Module to handle web3 RPC connections over HTTP.","directories":{},"_nodeVersion":"12.16.1","dependencies":{"xhr2-cookies":"1.1.0","web3-core-helpers":"1.3.4-rc.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"dtslint":"^3.4.1","typescript":"^3.9.5"},"_npmOperationalInternal":{"tmp":"tmp/web3-providers-http_1.3.4-rc.2_1611874741734_0.19359396291413278","host":"s3://npm-registry-packages"},"publish_time":1611874741853,"_cnpm_publish_time":1611874741853,"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"}}