pbt
pbts
npm i pbts
pbt

pbts

A converter from pb to typescript

by BrandonX

2.0.2 (see all)License:MITTypeScript:Not Found
npm i pbts
Readme

pbts-cli

It is the cli for pbts. You can convert pb to ts file by command line

Usage

Tranditional Way

step 1 Install pbts

npm i pbts -g

step 2 Convert your protobuffer to Typescript Definition File

pbts convert -i ckageinput/app/order.proto -o output/order.ts

No Installation

Please use npx for short.

npx pbts convert -i packages/cli/__tests__/__fixtures__/input/app/single.proto -o packages/cli/__tests__/__fixtures__/output/single.ts

Downloads/wk

86

GitHub Stars

58

LAST COMMIT

9mos ago

MAINTAINERS

1

CONTRIBUTORS

4

OPEN ISSUES

0

OPEN PRs

0
VersionTagPublished
2.0.2
latest
9mos ago
No alternatives found
No tutorials found
Add a tutorial

Rate & Review

100
No reviews found
Be the first to rate