mirror of https://github.com/grpc/grpc-node.git
docs: replace invalid link in grpc-tools README
This commit is contained in:
parent
86924190cd
commit
5c41ee4418
|
@ -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…
Reference in New Issue