mirror of
https://github.com/grpc/grpc-node.git
synced 2025-12-08 18:23:54 +00:00
Merge pull request #2403 from pietrodn/patch-1
Replace invalid link in grpc-tools README
This commit is contained in:
commit
167732a93c
@ -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.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user