Skip to main content
Deno 2 is finally here 🎉️
Learn more

pbkit

Protobuf toolkit for modern web development

Homepage
Join our community!
Follow our SNS account!
Releases


What is Protobuf?

https://developers.google.com/protocol-buffers

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

And what is Pbkit?

Pbkit is a collection of tools related to protobuf.

It is written in TypeScript and uses the Deno api.

However, it can be executed in any JavaScript environment (including Node.js or web browser) because it does not use platform APIs inside the core directory.

What features are provided?

CLI

  • pb - Protobuf schema compiler like protoc.
    • protoc has native binary dependencies, but pb command is written in pure TypeScript, so it can be used comfortably in Node.js projects, etc., and can even easily be run in a web browser.
    • How to install and how to use
  • pollapo - A package manager for the protobuf schema.

Browser Extension

Editor Extension

Library

Who uses pbkit?

Company

  • Riiid - Pbkit was originally created to use protobuf in Riiid.
  • Karrot - Use Pbkit to generate gRPC client used in Node.js servers.

Open source project

License

pbkit is dual-licensed under Apache 2.0 and MIT terms.
see LICENSE-APACHE and LICENSE-MIT for details.