gRPC-JS blog entry copyedits (#205)

This commit is contained in:
Patrice Chalin 2020-04-22 09:35:48 -04:00 committed by GitHub
parent 40683e7a19
commit 88d13429a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 24 additions and 22 deletions

View File

@ -6,33 +6,35 @@ author:
link: https://github.com/murgatroid99 link: https://github.com/murgatroid99
--- ---
We are excited to announce the release of version 1.0 of gRPC-JS We are excited to announce the release of version 1.0 of [**gRPC-JS**
([@grpc/grpc-js](https://www.npmjs.com/package/@grpc/grpc-js)), (@grpc/grpc-js)][grpc-js], a pure-TypeScript reimplementation of the original
a pure-TypeScript reimplementation of the original Node gRPC library, [Node gRPC library, grpc][grpc].
[grpc](https://www.npmjs.com/package/grpc).
## Features ## Features
gRPC-JS supports the following features, which should cover most use cases: gRPC-JS supports the following features, which should cover most use cases:
+ Clients - Clients
+ Automatic reconnection - Automatic reconnection
+ Servers - Servers
+ Streaming - Streaming
+ Metadata - Metadata
+ Partial compression support: clients can decompress response messages - Partial compression support: clients can decompress response messages
+ Pick first and round robin load balancing policies - Pick first and round robin load balancing policies
+ Client Interceptors - Client Interceptors
+ Connection Keepalives - Connection Keepalives
+ HTTP Connect support (proxies) - HTTP Connect support (proxies)
## Should I use `@grpc/grpc-js` or `grpc`? ## Should I use @grpc/grpc-js or grpc?
The original Node.js gRPC library ([grpc](https://www.npmjs.com/package/grpc)) has been deprecated, The original Node gRPC library ([grpc][]) has been deprecated, so we recommend
so we recommend that you use ([@grpc/grpc-js](https://www.npmjs.com/package/@grpc/grpc-js)). that you use gRPC-JS, [@grpc/grpc-js][grpc-js].
However, some advanced features haven't been ported to gRPC-JS yet, However, some advanced features haven't been ported to gRPC-JS yet, such as full
such as full compression support or support for other load balancing policies. compression support or support for other load balancing policies. If you need
If you need one of these features, you should use the original Node `grpc` library, one of these features, you should use the [grpc][] library, but open a [feature
but file a [feature request](https://github.com/grpc/grpc-node/issues/new?template=feature_request.md) request][] over gRPC-JS to let us know which features you are missing the most.
for gRPC-JS to let us know which features you are missing the most.
[feature request]: https://github.com/grpc/grpc-node/issues/new?template=feature_request.md
[grpc]: https://www.npmjs.com/package/grpc
[grpc-js]: https://www.npmjs.com/package/@grpc/grpc-js