@emmveqz/grpc-node-web
v1.0.9
Published
Exactly as @grpc/grpc-js but with web browser CORS capability
Downloads
38
Maintainers
Readme
Fork to @grpc/grpc-js with CORS capability
Installation
Node 12 is recommended. The exact set of compatible Node versions can be found in the engines field of the package.json file.
npm install @emmveqz/grpc-node-webCORS
import * as grpc from '@emmveqz/grpc-node-web'
const grpcServer = new grpc.Server({
allowedOrigin: 'https://my-web-browser-app.com',
})@grpc/grpc-js
For a complete documentation, see github repo: grpc/grpc-node
