protoschema
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

ProtoSchema

NPM

GitHub npm npm npm type definitions

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

Package Sidebar

Install

npm i protoschema

Weekly Downloads

2

Version

1.0.0

License

MIT

Unpacked Size

42.6 kB

Total Files

20

Last publish

Collaborators

  • codermarcos
  • vflopes