Package Exports
- @grpc/grpc-js
- @grpc/grpc-js/build/src/call-credentials
- @grpc/grpc-js/build/src/compression-filter
- @grpc/grpc-js/build/src/make-client
- @grpc/grpc-js/build/src/metadata
- @grpc/grpc-js/package.json
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@grpc/grpc-js) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Pure JavaScript gRPC Client
Note: This is an alpha-level release. Some APIs may not yet be present and there may be bugs. Please report any that you encounter
Installation
Node 9.x or greater is required.
npm install @grpc/grpc-js
Features
- Unary and streaming calls
- Cancellation
- Deadlines
- TLS channel credentials
- Call credentials (for auth)
- Simple reconnection
This library does not directly handle .proto
files. To use .proto
files with this library we recommend using the @grpc/proto-loader
package.