Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

The coolest JSON Schema to Protobuf 3 definitions parser

License

NotificationsYou must be signed in to change notification settings

gamaops/protoschema

Repository files navigation

NPM

GitHubnpmnpmnpm 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 usenull 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 theguide.

API Reference

To understand more about the exported interface go to theAPI reference.

Contributing

See thecontributing guide and thecode of conduct.

License

This project is licensed under the MIT license.

Copyright © 2019codermarcos andvflopes


[8]ページ先頭

©2009-2025 Movatter.jp