grpc-interop-server

0.1.0 • Public • Published

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

Dependencies (4)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i grpc-interop-server

    Weekly Downloads

    0

    Version

    0.1.0

    License

    Apache-2.0

    Unpacked Size

    33.9 kB

    Total Files

    9

    Last publish

    Collaborators

    • marella