grpc-interop-server
v0.1.0
Published
An implementation of gRPC interop server for Node.js
Downloads
3
Maintainers
Readme
grpc-interop-server
An implementation of gRPC interop server for Node.js
Installation
npm install grpc-interop-server --save-dev
Usage
Run from the command line:
npx grpc-interop-server --port 8080
or use in a CommonJS module:
const startServer = require('grpc-interop-server');
startServer({ port: 8080 }).then((server) => {
//
});
or use in an ECMAScript module:
import startServer from 'grpc-interop-server';
const server = await startServer({ port: 8080 });
License
Code is taken from grpc/grpc-node repo which is available under the Apache License Version 2.0