pbkit

The next-generation protobuf toolkit.

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:

Getting started

To get started, make sure you have the Deno CLI installed.

Then, run the following command to install both `pb` and `pollapo` cli:

brew tap pbkit/tap
brew install 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.

What is Protocol Buffers?

Protocol buffers are Google's language-neutral, platform-neutral, extensible mechanism for serializing structured data – think XML, but smaller, faster, and simpler.

Community

If you want to contribute or get in trouble, feel free to join our discord!

Misc

The pbkit docs is also written in Deno and deployed with Deno deploy.