I am developing an Angular 2 app in which I want to use Protocol Buffers to send data to a Go server.
I found this dcodeIO/protobufjs. But I don't understand how should I use this in my project?
I also tried installing the typings for protobufjs
using typings install dt~protobufjs --global
. When I import it, WebStorm says Cannot find module protobuf
.
Any help is appreciated!