gRPC for Node.js
Go to file
Nicolas Noble 307f022fa2
Fixing "vector: invalid subscript" issue.
2019-11-05 15:57:31 -08:00
.github
packages
test
tools/release
.editorconfig
.gitignore
.gitmodules
.istanbul.yml
AUTHORS
CODE-OF-CONDUCT.md
CONTRIBUTING.md
GOVERNANCE.md
LICENSE
MAINTAINERS.md
PACKAGE-COMPARISON.md
README.md
gulpfile.ts
merge_kokoro_logs.js
package.json
run-tests.bat
run-tests.sh
setup.sh
setup_interop.sh
setup_interop_purejs.sh
test-grpc-submodule.sh
tsconfig.json
util.js

README.md

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

npm package: @grpc/grpc-js

This library is currently incomplete and experimental. It is built on the 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/proto-loader

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.