title: How to decode encoded protocol buffer data with a .proto file in node.js
body: <p>I am new to protocol buffer and I am trying to decode data from an api response.</p>
  <p>I get encoded data from the api response and I have a .proto file to decode the data, how do I decode the data in nodeJS. I have tried using protobuf.js but I am very confused, I have spent hours trying to solve my problem looking at resources but I cannot find a solution.</p>