{"name":"eth-json-rpc-infura","version":"2.0.11","author":"","license":"ISC","_id":"eth-json-rpc-infura@2.0.11","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":"134bf54ff15e96a9116424c0db9b66aa079bfbbe","tarball":"http://registry-npm.ywwl.com/eth-json-rpc-infura/download/eth-json-rpc-infura-2.0.11.tgz","integrity":"sha512-GEIMRGglJxQ7nC6V7L+UIxezFzpBCwBFk3aWrb/azj8fDaS1KjLrxjJ3nSsRAj/PwR3zDnPW0hsqs6r4dRn01Q==","signatures":[{"sig":"MEYCIQC3Ot3f38DWgd/q+X8ui3Sp8C8rUYm069wKtXf191bwnwIhAPDPzLLkAMH0vSDnNf6hAx+qdmh8F2jgiRaL12nKqPpp","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"size":2353,"noattachment":false,"key":"/eth-json-rpc-infura/-/eth-json-rpc-infura-2.0.11.tgz"},"main":"src/index.js","gitHead":"b56663543ef9ca123497e2f269a1ced2515e02f9","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.11.tgz_1516399362805_0.13583186082541943","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":1516399362887,"_cnpm_publish_time":1516399362887,"dist-tags":{"latest":"5.1.0"}}