A TypeScript-based gRPC client module that works with the companion server module grpc-server-ts. Version 1.1.1 provides a decorator-based API using @Client and @Route for defining gRPC service methods, and a registry pattern via RpcClientRegistry for managing client connections with TLS support. The package ships TypeScript types and is designed for Node.js environments. Compared to other gRPC clients like @grpc/grpc-js, it abstracts away much of the boilerplate but is tightly coupled to its own server module and the mvc-ts framework, limiting broader adoption. Release cadence appears low, with no recent updates.
npm install grpc-client-tsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows defining a gRPC client with proto file, decorators, and TLS configuration.
Use @grpc/grpc-js for general-purpose gRPC client if not using grpc-server-ts.
Use import syntax or transpile with TypeScript/ESBuild.
Enable 'experimentalDecorators': true in tsconfig.json.
Use import { RpcClientRegistry } from 'grpc-client-ts' instead of require().Install grpc-server-ts: npm install grpc-server-ts