Thanks for the response. If I understand it correctly, the js package contains a js directory which is pre-built javascript libraries. I built the C++ package and I can use the C++ package to generate javascript library by running "protoc --js_out=library=myproto_libs,binary:. proto3_test.proto"
I am not going to use the node, then I cannot use the npm either, not quite sure if I could install javascript libraries manually without npm?
On Tuesday, July 18, 2017 at 4:00:21 AM UTC+10, Feng Xiao wrote:
protobuf-js-3.3.0.zip is the original source code for C++ + Javascript. If you only need the already-built protobuf js package, try npm google-protobuf:
Note that you will need to download protoc binary to do the code generation.
Thank you.
Kind regards,
- j
--
You received this message because you are subscribed to the Google Groups "Protocol Buffers" group.