diff --git a/packages/grpc-tools/README.md b/packages/grpc-tools/README.md index eae78692..980ce93e 100644 --- a/packages/grpc-tools/README.md +++ b/packages/grpc-tools/README.md @@ -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. \ No newline at end of file + `grpc` and `@grpc/grpc-js` libraries.