json-to-proto
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i json-to-proto

Weekly Downloads

6

Version

1.0.5

License

MIT

Unpacked Size

47.8 kB

Total Files

23

Last publish

Collaborators

  • myujinn