gRPC for Node.js
Go to file
Michael Lumish 21d40b0247
Merge pull request #2951 from MatiasManevi/health_list_js
Add List method to Health service
2025-05-08 15:30:15 -07:00
.github bump actions/download-artifact and actions/upload-artifact from 2 to 4 in grpc-tools build workflow 2024-12-11 10:21:08 -05:00
doc fix case where serverHost is not an IP address + refactor 2025-01-10 10:39:20 +01:00
examples Add retry example 2025-01-29 12:40:24 -08:00
packages Add List method to Health service 2025-05-02 17:17:10 -03:00
test Add kokoro config for PSM interop security tests 2025-02-05 14:40:44 -08:00
tools/release/native Fix static linking and dockerfile 2023-01-30 22:01:57 +00: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 Begin aarch64 support 2023-01-22 22:54:12 +00: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 Fix typo 2024-06-24 14:50:59 -07:00
PACKAGE-COMPARISON.md grpc-js: Prepare for 1.8.0 release 2022-12-01 16:02:45 -05:00
README.md remove badge 2024-11-07 18:41:41 +00: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 Install reflection before xds library 2025-02-04 12:55:13 -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 root: Update dependency on jsdoc to avoid linkify-it compilation error 2024-05-03 14:05:38 -07:00
run-tests.bat Don't test on Node 18 yet 2022-10-17 10:11:38 -07:00
run-tests.sh Don't test on Node 18 yet 2022-10-17 10:11:38 -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

gRPC on Node.js

Implementations

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

Pure JavaScript Client and Server

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 versions of Node.js on all platforms that Node.js runs on.

C-based Client and Server (deprecated)

Directory: packages/grpc-native-core (lives in the grpc@1.24.x branch) (see here for installation information)

npm package: grpc.

This is the deprecated implementation of gRPC using a C++ addon. It works on versions of Node.js up to 14 on most 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.

gRPC Reflection API Service

Directory: packages/grpc-reflection

npm package: @grpc/reflection

Reflection API service for gRPC servers.