Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/alfierichou/protobuf-model-schema

Convert protobuf models to JsonSchema models.
https://github.com/alfierichou/protobuf-model-schema

Last synced: about 1 month ago
JSON representation

Convert protobuf models to JsonSchema models.

Awesome Lists containing this project

README

        

[![Standard - JavaScript Style Guide]( https://cdn.jsdelivr.net/gh/standard/standard@master/badge.svg )]( https://github.com/standard/standard )

# protobuf-model-schema
Convert protobuf models to JsonSchema models.

### demo

```javascript
const convert = require('./')
const appRoot = require('app-root-path')

const dirpath = `${appRoot}/proto`
const jsonschema = convert(dirpath)
console.log('------->', jsonschema)
```