@grpc/grpc-js

v1.1.8
gRPC Library for Node - pure JS implementation

fix

gts fix src/*.ts

lint

npm run check

test

gulp test

build

npm run compile

check

gts check src/**/*.ts

clean

node -e 'require("rimraf")("./build", () => {})'

format

clang-format -i -style="{Language: JavaScript, BasedOnStyle: Google, ColumnLimit: 80}" src/*.ts test/*.ts

compile

tsc -p .

prepare

npm run compile

pretest

npm run compile

posttest

npm run check

generate-types

proto-loader-gen-types --keepCase --longs String --enums String --defaults --oneofs --json --includeComments --includeDirs deps/envoy-api/ deps/udpa/ deps/googleapis/ deps/protoc-gen-validate/ -O src/generated/ --grpcLib ../index envoy/service/discovery/v2/ads.proto envoy/service/load_stats/v2/lrs.proto envoy/api/v2/listener.proto envoy/api/v2/route.proto envoy/api/v2/cluster.proto envoy/api/v2/endpoint.proto envoy/config/filter/network/http_connection_manager/v2/http_connection_manager.proto
npm i @grpc/[email protected]

Metadata

  • Apache-2.0
  • ^8.13.0 || >=10.10.0
  • Google Inc.
  • released 10/28/2020

Downloads