Sign inSign up

monahawk/protoc-ts-nest

By monahawk

Updated over 6 years ago

Protoc generator for Typescript and GRPC-web

Image
0

452

monahawk/protoc-ts-nest repository overview

typescript-proto

This is a typescript and grpc-web generator container for the Google Protocol Buffers compiler ('protoc').

Installation

There is a docker image available ('docker pull monahawk/protoc-ts-nest') that has all the required features you need.

You just need to bind the proto folder and output folder to the docker image. You can either use docker-compose for it (as example see the 'docker-compose.yml'), or a simple docker run command. ''' docker run --rm
-v $(pwd)/example/doc:/out
-v $(pwd)/example/proto:/protos
monahawk/protoc-ts-nest '''

Output Example

With the input '.proto' files

the plugin gives the output

Typescript
Javascript
Grpc-WEB

Tag summary

Content type

Image

Digest

Size

44.3 MB

Last updated

over 6 years ago

docker pull monahawk/protoc-ts-nest