Skip to main content

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

typescript-protobuf-0.3.1.tar.gz (5.2 kB view details)

Uploaded Source

File details

Details for the file typescript-protobuf-0.3.1.tar.gz.

File metadata

  • Download URL: typescript-protobuf-0.3.1.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.2

File hashes

Hashes for typescript-protobuf-0.3.1.tar.gz
Algorithm Hash digest
SHA256 44b0f4329908f48df66216e0a97401559938e9860a43d62c4bf5136728d55498
MD5 2e872cc207c7600fb6d6bc78acb66bb9
BLAKE2b-256 403bc7f7737bb10e9813d34e9c7faad89000e84eb74a01f2536e5fdf02c1cca8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page