Generate d.ts files for JSON objects from protobuf specs
Project description
# json-ts-protobuf: Generate Typescript declaration files for JSON objects from protobuf specs
## Requirements protoc 3.0.0 or greater python 3.5 Other configurations may work.
## Python Implementation There is currently only a python implementation of the plugin
The plugin can be installed with
pip install json-ts-protobuf
On posix, ensure that the protoc-gen-json-ts script installed onto your $PATH. Then run.
protoc –json-ts_out=output/location
Alternately, you can explicitly provide the path:
protoc –plugin=protoc-gen-json-ts=path/to/protoc-gen-json-ts –json-ts_out=output/location
To suppress output, you can run
protoc –json-ts_out=quiet:output/location
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file typescript-protobuf-0.5.0.tar.gz.
File metadata
- Download URL: typescript-protobuf-0.5.0.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bf5a832c0c07f51fd0554e8a60f75cd016490380314f60e42dac71a343c5336d
|
|
| MD5 |
4d11305961456af6bb63203ba9021d55
|
|
| BLAKE2b-256 |
7e51ce0c4725c8c1f1ed2a717f839cd4529204fb9f2445b9125beaaac42654f0
|
File details
Details for the file typescript_protobuf-0.5.0-py3-none-any.whl.
File metadata
- Download URL: typescript_protobuf-0.5.0-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a6e6a99ec11189dc951a22c81c648b80a2f6a123fa0eedfe7b356970853226d4
|
|
| MD5 |
2f8d50f88e9bd22c99d344f2f246c34f
|
|
| BLAKE2b-256 |
6833108d2d80bebe74c47d30f7f4a4e628177a8be4c88cd51acea49f9de15a6d
|