This package provides support for the xds://
URL scheme to the @grpc/grpc-js
library. The latest version of this package is compatible with @grpc/grpc-js
version 1.2.x.
npm install @grpc/grpc-js-xds
import * as grpcJsXds from '@grpc/grpc-js-xds';
grpcJsXds.register();
// ...get a @grpc/grpc-js Client class as usual
const client = new MyServiceClient('xds:///example.com:123');