{"_id":"@arista/grpc-web-node-http-transport","name":"@arista/grpc-web-node-http-transport","dist-tags":{"latest":"0.15.0"},"versions":{"0.15.0":{"name":"@arista/grpc-web-node-http-transport","version":"0.15.0","description":"Node HTTP Transport for use with @improbable-eng/grpc-web","main":"lib/index.js","repository":{"type":"git","url":"github.com/improbable-eng/grpc-web"},"scripts":{"clean":"rm -rf lib","postbootstrap":"npm run build","build":"tsc"},"publishConfig":{"access":"public"},"author":{"name":"Improbable"},"license":"Apache-2.0","peerDependencies":{"@arista/grpc-web":">=0.13.0"},"devDependencies":{"@arista/grpc-web":"^0.13.0","@types/node":"^14.14.22","google-protobuf":"^3.14.0","typescript":"^4.1.3"},"gitHead":"e15f565d0babedfa79e3f73f77827b030f8422ec","_id":"@arista/grpc-web-node-http-transport@0.15.0","_nodeVersion":"16.13.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-Q0aLm9gkeIxoxoIdRNmTeTLWrgo2Mgu9IQcQ4Q2FSk3dQ+Z/cqUb6Pl3c/i9ercA4DsM49fqHi3YSEgUorq2Uw==","shasum":"e61f17e42913e15893239d3aefa81cdb1a5e0fd8","tarball":"https://registry.npmjs.org/@arista/grpc-web-node-http-transport/-/grpc-web-node-http-transport-0.15.0.tgz","fileCount":4,"unpackedSize":5172,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDagYadd/U7vImS58IVx9nhFK6otuTX2bMTE0UumPon+wIhAOeBXFUoXGq/CbHy19Eb6Z01hUA09KjsrKqXFiT7Ss4f"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi0bRpACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp6vBAAgMQijuH3GXS5gfO5gAA296RgvRsbIGMsbf4bIh/dFunYTqqp\r\nbwfEr2NbfIGthWW14ViLlkyf4syLDNeP8hVrefIQfMmJQ3i69PT81tfWiIPE\r\ncoVfue06ySZ0ADmhwuGvSxdJCrfIRirJtl4x4BbsKT643YPQ5CH1yDb0B3/x\r\nrbCusl7TZ3OfP3d7llKJln9BJxs87Swrt/dBCqVOni7GEZbpe1R3K2Zn6QRn\r\nwt6Uxk/J5SmZhZHuC06iwGW2gxh2hx65AlgQGkKDxDSiqfuQgaksFbyKGvMa\r\nugyYV+2Yok/MGwhgltwDwsQHHGI7C8QCzyoUAOLvpby+bkgPQi+vBH34ppHt\r\nOimq8KFeej5R1h59kAWRMJaTwg3tYq0xvDg5YYnWLF8OYgU25g9WVL2EWU8/\r\n3d65Tc2NObJY7XIJAXJla8Df6UcE8E+r7u8vW6vxgL7SciWQgzIImfakGHIP\r\n4KxZVYVaZa72sg+wESdaC1Qv6Q17ZMOmuWhZP062jm90MnxJZT55DgiX/uUS\r\n22VWZHnl6tZnGnQv323gVTG4vh/82CZlo8ju+LoUkqcMQwTgj+u88PDYts9y\r\nxAV47GQmuLXa8J9CRmgR9NR0EKjDz0gQ6EJGvfWiRWotmZZSLGWhUPHjP2Bi\r\ndpc08hYErSRsukn47EilDo8mTj8FUM2Vyxg=\r\n=dGnE\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"gurkohli","email":"gursimransinghkohli@gmail.com"},"directories":{},"maintainers":[{"name":"rufman","email":"s@zurita-rufer.com"},{"name":"madsen","email":"ryan.madsen@gmail.com"},{"name":"gurkohli","email":"gursimransinghkohli@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/grpc-web-node-http-transport_0.15.0_1657910377644_0.7428661614461358"},"_hasShrinkwrap":false}},"time":{"created":"2022-07-15T18:39:37.586Z","0.15.0":"2022-07-15T18:39:37.916Z","modified":"2022-07-15T18:39:38.074Z"},"maintainers":[{"name":"rufman","email":"s@zurita-rufer.com"},{"name":"madsen","email":"ryan.madsen@gmail.com"},{"name":"gurkohli","email":"gursimransinghkohli@gmail.com"}],"description":"Node HTTP Transport for use with @improbable-eng/grpc-web","repository":{"type":"git","url":"github.com/improbable-eng/grpc-web"},"author":{"name":"Improbable"},"license":"Apache-2.0","readme":"# @improbable-eng/grpc-web-node-http-transport\nNode HTTP Transport for use with [@improbable-eng/grpc-web](https://github.com/improbable-eng/grpc-web)\n\n## Usage\nWhen making a gRPC request, specify this transport:\n\n```typescript\nimport { grpc } from '@improbable-eng/grpc-web';\nimport { NodeHttpTransport } from '@improbable-eng/grpc-web-node-http-transport';\n\ngrpc.invoke(MyService.DoQuery, {\n  host: \"https://example.com\",\n  transport: NodeHttpTransport(),\n  /* ... */\n})\n```\n\nAlternatively specify the Default Transport when your server/application bootstraps:\n```typescript\nimport { grpc } from \"@improbable-eng/grpc-web\";\nimport { NodeHttpTransport } from \"@improbable-eng/grpc-web-node-http-transport\";\n\n// Do this first, before you make any grpc requests!\ngrpc.setDefaultTransport(NodeHttpTransport());\n```  ","readmeFilename":"README.md"}