Skip to content

tatemz/grpc-reflection-js

 
 

Repository files navigation

gRPC Reflection JS

CI codecov

A JS library for talking with any gRPC Server that implements Reflection protocol.

Installation

npm install grpc-reflection-js

Usage

const grpc = require('grpc');
const grpcReflection = require('grpc-reflection-js');

const grpcReflectionServer = '<gRPC Reflection server host>'
const reflectionClient = new grpcReflection.Client(
  grpcReflectionServer,
  grpc.credentials.createInsecure()
);
const services = await reflectionClient.listServices()

About

gRPC Reflection client for JS

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 93.7%
  • TypeScript 6.3%