Protobuf toolkit written in Deno/TypeScript
pbkit is a collection of tools related to protobuf. It is written in TypeScript and uses the Deno API. And It can be executed in any JavaScript environment (including Node.js or web browser). Some stand out features:
To get started, make sure you have the Deno CLI installed.
Then, run the following command to install both `pb` and `pollapo` cli:
brew install pbkit/tap/pbkit
Once installed, you can use the `pollapo` command to install your protobuf schema package.
pollapo install
Now you can generate en/decode typescript code from your protobuf schema.
pb gen ts
A more in-depth getting started guide is available in the docs.
Protocol buffers are Google's language-neutral, platform-neutral, extensible mechanism for serializing structured data – think XML, but smaller, faster, and simpler.
If you want to contribute or get in trouble, feel free to join our discord!
The pbkit docs is also written in Deno and deployed with Deno deploy.