{"name":"eth-json-rpc-infura","version":"2.0.1","author":"","license":"ISC","_id":"eth-json-rpc-infura@2.0.1","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":"d4084ed44c8507e1fd39a2aa4ebaedcf85ae93c1","tarball":"http://registry-npm.ywwl.com/eth-json-rpc-infura/download/eth-json-rpc-infura-2.0.1.tgz","integrity":"sha512-lsDCD/JXk6akM4bvSlWRmojQNCj+dNFf1YwIxKZ8TVWyXyS4DOX6DDW6D8gfOT/gmJSt+79++OoWizGdpWoIXQ==","signatures":[{"sig":"MEYCIQDkokRoY2dTxqKlFwocEO5sDq3oTL6hJ5GG0Vx3O9DOfgIhAK+HC3815iQFpJKgkDzxxbrqMA3ueBSJK4Qc2jhvtz3Y","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"size":1654,"noattachment":false,"key":"/eth-json-rpc-infura/-/eth-json-rpc-infura-2.0.1.tgz"},"main":"index.js","gitHead":"ec1da4801db53daa140cd6aa6f35f81ec9b21958","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.1.tgz_1515450460929_0.9060619464144111","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":1515450461014,"_cnpm_publish_time":1515450461014,"dist-tags":{"latest":"5.1.0"}}