gRPC for Node.js
Go to file
Michael Lumish 18d88348da
Merge pull request #2743 from sergiitk/backport-1.7-psm-interop-common-prod-tests
PSM Interop: simplify Kokoro buildscripts (@grpc/grpc-js@1.7.x backport)
2024-05-07 10:12:33 -07:00
.github Switch back to upload- and download-artifacts v2 2020-05-15 11:03:18 -07:00
doc grpc-js: Add channel construction stacktrace traces 2022-03-16 11:27:05 -07:00
packages Merge pull request #2729 from sergiitk/psm-interop-common-prod-tests 2024-05-06 15:30:42 -07:00
test Merge pull request #2729 from sergiitk/psm-interop-common-prod-tests 2024-05-06 15:30:42 -07:00
tools/release/native Don't install docker in the docker image 2021-06-17 09:49:42 -07:00
.editorconfig Adding few stray files. 2017-09-13 02:06:15 +02:00
.gitattributes Add .gitattributes marking generated code in xDS package 2021-08-10 09:48:56 -07:00
.gitignore Remove references and unnecessary scripts, copy some protos 2020-05-13 15:30:37 -07:00
.gitmodules grpc-js-xds: Switch from udpa to xds submodule 2021-11-01 14:26:08 -07:00
.istanbul.yml Adding few stray files. 2017-09-13 02:06:15 +02:00
AUTHORS Adding AUTHORS file. 2017-08-02 15:11:07 -07:00
CODE-OF-CONDUCT.md Adding few stray files. 2017-09-13 02:06:15 +02:00
CONTRIBUTING.md Add GOVERNANCE.md and CONTRIBUTING.md 2019-09-26 14:18:41 -07:00
GOVERNANCE.md Add GOVERNANCE.md and CONTRIBUTING.md 2019-09-26 14:18:41 -07:00
LICENSE Create LICENSE 2017-08-02 15:10:19 -07:00
MAINTAINERS.md Update MAINTAINERS.md 2021-07-28 12:38:24 -07:00
PACKAGE-COMPARISON.md Document grpc-js supported channel args in readme 2022-01-04 16:39:20 -08:00
README.md Remove references and unnecessary scripts, copy some protos 2020-05-13 15:30:37 -07:00
SECURITY.md Add security policy doc 2021-01-22 10:57:55 -08:00
TROUBLESHOOTING.md updated with an extra 's' 2021-09-02 23:00:11 +05:30
gulpfile.ts Reorder gulp cleanup step to avoid breakages 2020-11-03 10:10:07 -08:00
merge_kokoro_logs.js Try to fix error reporting in log merging script again 2019-06-12 11:36:58 -07:00
package.json Merge pull request #2735 from murgatroid99/grpc-js_linkify-it_fix 2024-05-03 14:27:53 -07:00
run-tests.bat Merge pull request #2246 from murgatroid99/grpc-js_test_versions 2023-05-24 14:57:18 -07:00
run-tests.sh Merge pull request #2246 from murgatroid99/grpc-js_test_versions 2023-05-24 14:57:18 -07:00
setup.sh Add license notice to several script files 2017-09-22 10:50:58 -07:00
setup_interop.sh Add #!/bin/sh and copyright notice to new scripts 2019-05-09 17:46:25 -07:00
setup_interop_purejs.sh Add #!/bin/sh and copyright notice to new scripts 2019-05-09 17:46:25 -07:00
tsconfig.json simplify gulp commands in package directories 2017-12-14 16:41:24 -08:00
util.js Adding missing license on a bunch of source files. 2019-03-19 01:06:57 +01:00

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 (lives in the grpc@1.24.x branch) (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 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.