cjihrig 6a19cf5205
grpc-js-core: use Map for metadata store
In more recent versions of Node, Maps are more performant than
POJOs when used as maps. Switching to Maps also eliminates an
expensive delete operation, as well as uses of hasOwnProperty().
2018-10-24 14:13:18 -04:00
2018-09-28 13:51:13 -07:00
2017-09-13 02:06:15 +02:00
2018-09-26 09:44:34 -07:00
2017-09-13 02:06:15 +02:00
2017-09-16 02:31:07 +02:00
2017-08-02 15:11:07 -07:00
2017-09-13 02:06:15 +02:00
2017-08-02 15:10:19 -07:00
2017-10-25 14:18:16 -07:00

Build Status

gRPC on Node.js

Implementations

For a comparison of the features available in these two libraries, see this document

C-based Client and Server

Directory: packages/grpc-native-core (see here for installation information)

npm package: grpc.

This is the existing, feature-rich implementation of gRPC using a C++ addon. It works on all LTS versions of Node.js on most platforms that Node.js runs on.

Pure JavaScript Client

Directory: packages/grpc-js-core

npm package: @grpc/grpc-js

This library is currently incomplete and experimental, built on the experimental http2 Node module.

This library implements the core functionality of gRPC purely in JavaScript, without a C++ addon. It works on the latest version of Node.js on all platforms that Node.js runs on.

Other Packages

gRPC Protobuf Loader

Directory: packages/grpc-protobufjs

npm package: @grpc/proto-loader

This library loads .proto files into objects that can be passed to the gRPC libraries.

gRPC Tools

Directory: packages/grpc-tools

npm package: grpc-tools

Distribution of protoc and the gRPC Node protoc plugin for ease of installation with npm.

gRPC Health Check Service

Directory: packages/grpc-health-check

npm package: grpc-health-check

Health check service for gRPC servers.

Description
gRPC for Node.js
Readme Apache-2.0 35 MiB
Languages
TypeScript 87.3%
JavaScript 10.2%
C++ 1.2%
Shell 0.8%
Dockerfile 0.2%
Other 0.2%