Type-safe gRPC client and server library for TypeScript using RxJS Observables. Current stable version is 0.2.12. Release cadence is low. Key differentiator: generates TypeScript namespaces from .proto files and provides strongly-typed server builder and client factory, enabling reactive stream-based communication instead of raw callbacks. Compared to alternatives like @grpc/grpc-js, this library adds Observable interfaces for all RPC methods.
npm install qp-rxjs-grpcNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates setting up a typesafe gRPC server and client using Observables.
Run generator as part of build step (e.g., npm run generate).
Install both with npm: npm install rxjs grpc
Use `./node_modules/.bin/rxjs-grpc` with `-o` flag.
Consider switching to a more modern gRPC library or fork this one.
Always import the generated namespace type and use it precisely.
npm install grpc
import { serverBuilder } from 'qp-rxjs-grpc'Run generator: ./node_modules/.bin/rxjs-grpc -o grpc-namespaces.ts *.proto
import { of } from 'rxjs'