https://github.com/simenandre/protoc-gen-runtypes
Generate Runtypes from Protobuf files
https://github.com/simenandre/protoc-gen-runtypes
generate-runtypes protobuf runtype runtypes typescript
Last synced: 10 months ago
JSON representation
Generate Runtypes from Protobuf files
- Host: GitHub
- URL: https://github.com/simenandre/protoc-gen-runtypes
- Owner: simenandre
- License: apache-2.0
- Created: 2021-05-07T22:57:51.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2025-08-11T07:15:48.000Z (11 months ago)
- Last Synced: 2025-08-11T09:23:19.385Z (11 months ago)
- Topics: generate-runtypes, protobuf, runtype, runtypes, typescript
- Language: TypeScript
- Homepage:
- Size: 196 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 36
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Protoc Generate Runtypes
> Protoc Plugin for generating Runtypes
[](https://www.tidyverse.org/lifecycle/#experimental)
[](https://www.npmjs.com/package/protoc-gen-runtypes)
[](https://codecov.io/gh/cobraz/protoc-gen-runtypes)
`protoc-gen-runtypes` is a [protoc](https://github.com/google/protobuf) plugin
that generates Runtypes types from Protobuf files.
We are thankful for all help with adding new functionality, fixing issues, or
improve the package. Feel free to open issues and pull requests ❤️
**Note**: This plugin is not released yet, see
[#15](https://github.com/cobraz/protoc-gen-runtypes/issues/15) for more! If you
are looking to convert some Protobuf files right away, I have another that does
just that (without using `protoc`):
[protobuf-to-runtypes](https://github.com/cobraz/protobuf-to-runtypes)
## Quickstart
```shell
▶ yarn add protoc-gen-runtypes
```
If you use [buf](https://buf.build/), you can find an example
[here](./buf.gen.yaml).
## Documentation
Apart from this README, you can find details and examples of using the SDK in
the following places:
- [API Documentation][docs]
[runtypes]: https://github.com/pelotom/runtypes
[docs]: ./docs