{"name":"eth-json-rpc-infura","version":"2.0.4","author":"","license":"ISC","_id":"eth-json-rpc-infura@2.0.4","maintainers":[{"name":"kumavis","email":"aaron@kumavis.me"}],"homepage":"https://github.com/kumavis/eth-json-rpc-infura#readme","bugs":{"url":"https://github.com/kumavis/eth-json-rpc-infura/issues"},"dist":{"shasum":"884b55f63db30f0d8b1dcf09f891d4bbee6d92ac","tarball":"http://registry-npm.ywwl.com/eth-json-rpc-infura/download/eth-json-rpc-infura-2.0.4.tgz","integrity":"sha512-XfkpWmyjFUO8isMzto6VNxtaHKOoCC/b5dJwwMdRiugJNB/HbBaL/uJDsepiK4lshiHUova9DjTzojXLIPha1w==","signatures":[{"sig":"MEUCIBN/Ky5YxTxc4Eo8WsEFvIjLYp2aS2oqy7XynUSxe3zAAiEAyZKD82cw1g/weNWXUixaQV9kKY+FXJ3/FmLj480+MmM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"size":1657,"noattachment":false,"key":"/eth-json-rpc-infura/-/eth-json-rpc-infura-2.0.4.tgz"},"main":"index.js","gitHead":"c82b339f2b9814abdb1b88f50acee6b99043fd4c","scripts":{"test":"node test/index.js"},"_npmUser":{"name":"kumavis","email":"aaron@kumavis.me"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/kumavis/eth-json-rpc-infura.git","type":"git"},"_npmVersion":"5.6.0","description":"","directories":{"test":"test"},"_nodeVersion":"8.9.4","dependencies":{"tape":"^4.8.0","json-rpc-error":"^2.0.0","json-rpc-engine":"^3.4.0","eth-json-rpc-middleware":"^1.5.0"},"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/eth-json-rpc-infura-2.0.4.tgz_1515468435725_0.9340521118137985","host":"s3://npm-registry-packages"},"readme":"# eth-json-rpc-infura\n\n`json-rpc-engine` middleware for infura's REST endpoints.\n\n### usage as provider\n\n```js\nconst createInfuraProvider = require('eth-json-rpc-infura/src/createProvider')\nconst Ethjs = require('ethjs')\n\nconst provider = createInfuraProvider({ network: 'mainnet', projectId: 'example' })\nconst eth = new Ethjs(provider)\n```\n\n### usage as middleware\n\n```js\nconst createInfuraMiddleware = require('eth-json-rpc-infura')\nconst RpcEngine = require('json-rpc-engine')\n\nconst engine = new RpcEngine()\nengine.push(createInfuraMiddleware({ network: 'ropsten', projectId: 'example' }))\n```\n","publish_time":1515468435802,"_cnpm_publish_time":1515468435802,"dist-tags":{"latest":"5.1.0"}}