protoschema
v1.0.0
Published
The coolest JSON Schema to Protobuf 3 definitions parser
Downloads
9
Readme
ProtoSchema
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
Guide
To learn quickly how to use the package go to the guide.
API Reference
To understand more about the exported interface go to the API reference.
Contributing
See the contributing guide and the code of conduct.
License
This project is licensed under the MIT license.
Copyright © 2019 codermarcos and vflopes