TypeScript protocol-buffers

Open-source TypeScript projects categorized as protocol-buffers

Top 4 TypeScript protocol-buffer Projects

  • typia

    Super-fast/easy runtime validations and serializations through transformation

  • Project mention: I made Swagger/OpenAPI type definitions and converter library | dev.to | 2024-04-30

    However, lacking of typia and nestia libraries is obvious. If you also need detailed Swagger/OpenAPI spec like me, but you need more detailed types/properties, or found something missed, please take a contribution.

  • ts-protoc-gen

    Protocol Buffers Compiler (protoc) plugin for TypeScript and gRPC-Web.

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • protobuf-ts

    Protobuf and RPC for TypeScript

  • Project mention: tRPC – Move Fast and Break Nothing. End-to-end typesafe APIs made easy | news.ycombinator.com | 2023-08-12

    DX for front or back end? The beauty of tRPC is that the types are derived/inferred from the backend runtime code (like, as you type). It would be nigh impossible to do that with grpc(-web) using proto files as the source of truth.

    It's possible there's a project out there which could automatically produce proto files from something like zod, json-schema, etc. which could be directly interpreted by TS to provide similar (as you type) DX while still allowing some other language backend to consume the derived proto files (though the DX there would be less than ideal).

    If you're just looking for similar TS clients/interfaces for grpc-web then I'd recommend https://github.com/timostamm/protobuf-ts which operates on plain JS objects (no new MyMessage().serialize(), instead the code generator mostly produces TS interfaces for you to work against: const myMessage: MyMessage = pojoConformingToInterface; const binary = MyMessage.toBinary(myMessage);)

  • protobuf-es

    Protocol Buffers for ECMAScript. The only JavaScript Protobuf library that is fully-compliant with Protobuf conformance tests.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

TypeScript protocol-buffers related posts

  • gRPC vs REST: Comparing API Styles in Practice

    6 projects | dev.to | 21 Feb 2023
  • GRPC Gateway API Client?

    6 projects | /r/golang | 4 Feb 2023
  • Creating type definition from protocol buffer

    2 projects | /r/typescript | 27 Mar 2022
  • A standalone protobuf to typescript(for deno) code generator

    2 projects | /r/Deno | 7 Jun 2021

Index

What are some of the best open-source protocol-buffer projects in TypeScript? This list will help you:

Project Stars
1 typia 4,129
2 ts-protoc-gen 1,333
3 protobuf-ts 969
4 protobuf-es 958

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com