# 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
Metadata
Release files for typescript-protobuf 0.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| typescript-protobuf-0.6.0.tar.gz | 5.6 kB | Details |
Release files / typescript-protobuf-0.6.0.tar.gz
| Download URL | typescript-protobuf-0.6.0.tar.gz |
|---|---|
| Size | 5.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2590c04209cd0b895f6d252af134399044c3f63d10bb85d40928ebba48b9da5c
|
|
BLAKE2b-256 checksum How to use checksums |
0562498ca8616a71760dbb7f055e145df89b8b62ebcfe3d9e76c41504720d4a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.5
|