nice-grpc icon indicating copy to clipboard operation
nice-grpc copied to clipboard

A TypeScript gRPC library that is nice to you

nice-grpc

A gRPC library that is nice to you.

Features

  • Written in TypeScript for TypeScript.
  • Modern API that uses Promises and Async Iterables for streaming.
  • Cancelling client and server calls using AbortSignal.
  • Client and server middleware support via concise API that uses Async Generators.

Packages

  • nice-grpc — server and client library for Node.js.
  • nice-grpc-web — client library for the Browser.
  • nice-grpc-common — a package containing common data structures and types for nice-grpc and nice-grpc-web.
  • nice-grpc-client-middleware-deadline — client middleware that adds support for setting call deadline.
  • nice-grpc-client-middleware-retry — client middleware that adds automatic retries to unary calls.
  • nice-grpc-server-middleware-terminator — server middleware that makes it possible to prevent long-running calls from blocking server graceful shutdown.
  • nice-grpc-server-healthHealth Checking Protocol implementation.
  • nice-grpc-server-reflectionServer Reflection support.
  • nice-grpc-error-details — experimental Rich Error Model support.
  • nice-grpc-opentelemetryOpenTelemetry instrumentation.
  • nice-grpc-prometheusPrometheus monitoring.