https://github.com/brandonxiang/protobuf-to-typescript
A converter from pb to typescript
https://github.com/brandonxiang/protobuf-to-typescript
protobuf3 typescript
Last synced: about 1 year ago
JSON representation
A converter from pb to typescript
- Host: GitHub
- URL: https://github.com/brandonxiang/protobuf-to-typescript
- Owner: brandonxiang
- License: mit
- Created: 2019-12-19T15:05:01.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2024-11-21T10:45:07.000Z (over 1 year ago)
- Last Synced: 2025-04-15T14:14:29.064Z (about 1 year ago)
- Topics: protobuf3, typescript
- Language: HTML
- Homepage: https://pb.brandonxiang.top
- Size: 2.99 MB
- Stars: 77
- Watchers: 6
- Forks: 15
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# protobuf-to-typescript
## Intro
A converter to transform from Protobuf to Typescript definition files, which is inspired by [geotho/protobuf-to-typescript](https://github.com/geotho/protobuf-to-typescript). However, this converter is powered by [protobuf.js](https://github.com/protobufjs/protobuf.js), which is more tend to regularity and principle.
Protobuf is currently used in micro-service for back end. As a front end web developer, you can generate Typescript defination files based on Protobuf in case to develop your web page easily.
- [pbts](./packages/core)
- [pbts-web](./packages/web)
- [pbts-vscode](./packages/vscode)
## Demo
[Live Demo](https://pb.brandonxiang.top)
## License
[MIT](LICENSE)