node-pogo-protos
Uses protobuf.js to compile the Protobuf files from POGOProtos into an easy to use Node module.
How to use
const POGOProtos = ; var myMessage = POGOProtosNetworkingRequestsMessagesRecycleInventoryItemMessage; var encoded = POGOProtosNetworkingRequestsMessagesRecycleInventoryItemMessage; var decodedAgain = POGOProtosNetworkingRequestsMessagesRecycleInventoryItemMessage;console; // will print 50
For more details see the protobuf.js documentation.
Usage with TypeScript
TypeScript definitions are included. Modern IDE should use them automatically.