grpc-tools
Tools for developing with gRPC on Node.js
Last updated a month ago by murgatroid99 .
Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install grpc-tools 
SYNC missed versions from official npm registry.

grpc-tools

This package distributes the Protocol Buffers compiler protoc along with the plugin for generating client and service objects for use with the Node gRPC libraries.

Usage

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. 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:

  • grpc_js: Generates code with require('@grpc/grpc-js') instead of require('grpc')
  • 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.

Current Tags

  • 1.9.0                                ...           latest (a month ago)

34 Versions

  • 1.9.0                                ...           a month ago
  • 1.8.1                                ...           6 months ago
  • 1.8.0                                ...           a year ago
  • 1.7.3                                ...           a year ago
  • 1.7.2                                ...           a year ago
  • 1.7.1                                ...           a year ago
  • 1.7.0                                ...           a year ago
  • 1.6.6                                ...           3 years ago
  • 1.6.0                                ...           3 years ago
  • 1.6.0-pre1                                ...           3 years ago
  • 1.4.1                                ...           3 years ago
  • 1.3.8                                ...           3 years ago
  • 1.4.0-pre1                                ...           3 years ago
  • 1.3.7                                ...           3 years ago
  • 1.3.2                                ...           3 years ago
  • 1.3.1                                ...           3 years ago
  • 1.3.1-pre1                                ...           3 years ago
  • 1.3.0                                ...           3 years ago
  • 1.2.4                                ...           3 years ago
  • 1.2.3                                ...           3 years ago
  • 1.2.0                                ...           3 years ago
  • 1.2.0-pre1                                ...           3 years ago
  • 1.1.2                                ...           3 years ago
  • 1.1.1                                ...           3 years ago
  • 1.1.0                                ...           3 years ago
  • 1.1.0-pre1                                ...           3 years ago
  • 1.0.1                                ...           4 years ago
  • 1.0.1-pre1                                ...           4 years ago
  • 1.0.0                                ...           4 years ago
  • 1.0.0-pre2                                ...           4 years ago
  • 1.0.0-pre1                                ...           4 years ago
  • 0.15.0                                ...           4 years ago
  • 0.14.1                                ...           4 years ago
  • 0.14.1-pre1                                ...           4 years ago

Copyright 2014 - 2016 © taobao.org |