json-to-proto
This library enables the conversion between JSON descriptor of a protobuf schema as parsed by protobufjs into a valid .proto file
Table of contents
Installation
To install and set up the library, run:
$ npm install json-to-proto
Usage
API
jsonToProto
jsonToProto: (namespace: INamespace, packageToParse: string) => string;
Converts a JSON namespace generated by protobufjs back into a .proto file definition.
You'll need to specify the package to actually parse in order for the parser to not unwillingly parse libraries as well.
Versioning
We use SemVer for versioning. For the versions available, see the tags on this repository.
Authors
- Victor LE DANTEC - Myuujinn