docs: replace invalid link in grpc-tools README

This commit is contained in:
Pietro De Nicolao 2023-03-30 13:41:05 +02:00 committed by GitHub
parent 86924190cd
commit 5c41ee4418
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ libraries.
This library exports the `grpc_tools_node_protoc` executable, which accepts all
of the same arguments as `protoc` itself. For use with Node, you most likely
want to use CommonJS-style imports. An example of generating code this way can
be found in [this guide](https://developers.google.com/protocol-buffers/docs/reference/javascript-generated#commonjs-imports).
be found in [this guide](https://github.com/protocolbuffers/protobuf-javascript/blob/main/docs/index.md).
The `grpc_tools_node_protoc` automatically includes the Node gRPC plugin, so
it also accepts the `--grpc_out=[option:]path` argument. The option can be
one of the following:
@ -19,4 +19,4 @@ one of the following:
- `generate_package_definition`: Generates code that does not `require` any
gRPC library, and instead generates `PackageDefinition` objects that can
be passed to the `loadPackageDefinition` function provided by both the
`grpc` and `@grpc/grpc-js` libraries.
`grpc` and `@grpc/grpc-js` libraries.