Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/alfierichou/protobuf-model-schema
- Owner: AlfieriChou
- License: mit
- Created: 2018-10-27T01:34:46.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-01-02T05:58:17.000Z (about 6 years ago)
- Last Synced: 2024-11-20T03:50:55.578Z (about 1 month ago)
- Language: JavaScript
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: changelog.md
- License: LICENSE
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)
```