protobuf.js
protobuf.js copied to clipboard
Can the function parse be used in the browser?
protobuf.js version: <6.11.2>
Can the function parse be used in the browser?
for example :
const protoStr = syntax = "proto3"; package test; message user { optional string name = 1; };
const result= parse(protoStr);
I wrote like this and got an error:

I have the same issue. importing directly from dist solved it, but then I'm missing ide autocompletion