We are excited to announce the release of version 1.0 of
(@grpc/grpc-js), a pure-TypeScript reimplementation of the original
Node gRPC library, grpc.
gRPC-JS supports the following features, which should cover most use cases:
- Automatic reconnection
- Partial compression support: clients can decompress response messages
- Pick first and round robin load balancing policies
- Client Interceptors
- Connection Keepalives
- HTTP Connect support (proxies)
Should I use @grpc/grpc-js or grpc?
The original Node gRPC library (
grpc) will no longer receive feature
updates and we plan to deprecate it in a year,
so we recommend that you use gRPC-JS,
However, some advanced features haven’t been ported to gRPC-JS yet, such as full
compression support or support for other load balancing policies. If you need
one of these features, you should use the
grpc library, but open a
request over gRPC-JS to let us know which features you are missing the most.