0.1.0 • Published 1 year ago

grpc-interop-server v0.1.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
1 year ago

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