1.0.5 • Published 3 years ago

json-to-proto v1.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

npm version code style: prettier

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

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago