Compile .proto
files to simple TypeScript types and functions for reading/writing binary protobuf data using mapbox/pbf.
- Messages become typescript interfaces.
- Enums become typescript enums.
- Each message gets a
read${MessageName}
andwrite${MessageName}
pair of functions.
MIT · ⓒ 2023 Renée Kooi