Knowasiak
Repeat HN: Pbkit – Protobuf toolkit written in Deno/TypeScript

Repeat HN: Pbkit – Protobuf toolkit written in Deno/TypeScript

Hello reader! Welcome, let's start-

I love modules, attributable to they are the suited.

Protobuf toolkit written in Deno/TypeScript

pbkit is a series of instruments linked to protobuf. It’s miles written in TypeScript and uses the Deno API. And It’s going to also also be executed in any JavaScript ambiance (including Node.js or web browser). Some stand out aspects:

  • Bundle supervisor for protocol buffers, pollapo.
  • Protobuf schema compiler love protoc, pb.
  • Chrome DevTools: pbkit-devtools.
  • VSCode extension with protobuf language server: vscode-pbkit.

Getting started

To birth out, be obvious that you private the Deno CLI installed.

Then, escape the next describe to set Up every `pb` and `pollapo` cli:

brew set Up pbkit/faucet/pbkit

As soon as installed, that it’s possible you’ll well also expend the `pollapo` describe to set Up your protobuf schema equipment.

pollapo set Up

Now that it’s possible you’ll well also generate en/decode typescript code out of your protobuf schema.

pb gen ts

A extra in-depth getting started recordsdata is supplied in the docs.

What is Protocol Buffers?

Protocol buffers are Google’s language-neutral, platform-neutral, extensible mechanism for serializing structured recordsdata – deem XML, but smaller, faster, and extra efficient.

Neighborhood

Ought to you attach shut to must make a contribution or fetch in distress, actually be at liberty to join our discord!

Misc

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

Read More
Portion this on knowasiak.com to tell over with other folk on this subjectTest in on Knowasiak.com now must you are no longer registered yet.

About the author: Charlie
Fill your life with experiences so you always have a great story to tell
Advertisements

Get involved!

Get Connected!
One of the Biggest Social Platform for Entrepreneurs, College Students and all. Come and join our community. Expand your network and get to know new people!

Discussion(s)

No comments yet
Knowasiak We would like to show you notifications so you don't miss chats & status updates.
Dismiss
Allow Notifications