ProtoSchema is the coolest JSON Schema 7 to Protobuf 3 definitions encoder.
- It's written in TypeScript and transpiled to Javascript
- The encoder is aware about messages references and will encode them when one is found in the picked schema to be encoded
- The encoded result is separated by namespaces
- You can use
null
on Protobuf 3 with the boolean field flag technique - You can specify the byte length for numbers and integers
- It's unit tested to be bulletproof
- Zero dependency
npm install --save protoschema
To learn quickly how to use the package go to the guide.
To understand more about the exported interface go to the API reference.
See the contributing guide and the code of conduct.
This project is licensed under the MIT license.
Copyright © 2019 codermarcos and vflopes