1.9.0 • Published 16 days ago

@bufbuild/protobuf v1.9.0

Weekly downloads
-
License
(Apache-2.0 AND B...
Repository
github
Last release
16 days ago

@bufbuild/protobuf

This package provides the runtime library for the code generator plugin protoc-gen-es.

Protocol Buffers for ECMAScript

A complete implementation of Protocol Buffers in TypeScript, suitable for web browsers and Node.js.

Protobuf-ES is intended to be a solid, modern alternative to existing Protobuf implementations for the JavaScript ecosystem. It is the first project in this space to provide a comprehensive plugin framework and decouple the base types from RPC functionality.

Some additional features that set it apart from the others:

  • ECMAScript module support
  • First-class TypeScript support
  • Generation of idiomatic JavaScript and TypeScript code.
  • Generation of much smaller bundles
  • Implementation of all proto3 features, including the canonical JSON format.
  • Implementation of all proto2 features, except for extensions and the text format.
  • Usage of standard JavaScript APIs instead of the Closure Library
  • Compatibility is covered by the protocol buffers conformance tests.
  • Descriptor and reflection support

Installation

npm install @bufbuild/protobuf

Documentation

To learn how to work with @bufbuild/protobuf check out the docs for the Runtime API and the generated code.

Official documentation for the Protobuf-ES project can be found at github.com/bufbuild/protobuf-es.

For more information on Buf, check out the official Buf documentation.

Examples

A complete code example can be found in the Protobuf-ES repo here.

@gitpod/public-api@infinitebrahmanuniverse/nolb-_buf@id3asnorsk/norsk-api@id3asnorsk/norsk-sdk@everything-registry/sub-chunk-146ally-client@nickadamson/react-hooks@nickadamson/sdk@iameli/bsky@iameli/bsync@informaticon/vx.svelte.poc.address@javamodules/indexer@lukasio/changesets-test-repo@kanziw/grpc-es@hamok-dev/common@hamok-dev/hamok-js-core@heathmont/lab-flask@live-codes/monaco-codeium-provider@mycujoo/mcls-components@networksanitationcommittee/pjprotos@olibraries/definition@monstrs/nestjs-buf-errors@nathanbeddoewebdev/sass-embedded@nuntio/sdk@neutron-org/neutronjsplus@observertc/samples-decoder@observertc/samples-encoder@observertc/observer-js@neosync/sdk@mux/spaces-web@openfeature/flagd-web-providermrdxtr-sherlocktcubesa-sdksubstreamsscanswift-sdkprotoc-gen-ts-interfaces-pluginprotoc-gen-validate-zodprotoc-gen-nestjsprotoc-gen-nexusprotoc-gen-pothosprotoc-gen-validate-zod-testprotoc-gen-grpc-gateway-esprotoc-gen-apache-dubbo-esprotoc-gen-apache-dubbo-webquiver-protobuf-typescriptsass-embeddedtopl_commonyorkie-js-sdkwgc@livekit/protocol@livekit/rtc-node@saibdev/utxorpc-test@onelxj/resemble1feoblog-client@porter-dev/api-contracts@sanctumlabs/messageschema@quarix/eip712@quarix/proto@quarix/transactions@rewards-system/reward-agents-rpc-client@rewards-system/reward-operations-rpc-client@rewards-system/reward-points-rpc-client@rewards-system/reward-programs-rpc-client@rewards-system/rewards-rpc-client@rigdev/sdk@restatedev/restate-sdk@routerprotocol/router-chain-sdk-ts@rsdk/grpc.server@riza-io/quickdb@riza-io/sandbox@meshtastic/meshtasticjs@meshtastic/node-red-contrib-meshtastic@metal-stack-cloud/api@lekko/js-sdk@lekko/node-server-sdk@keystonehq/keystone-sdk@status-im/js@tcn/tcnapi-connect-es@streamlayer/sl-eslibgeoally-client@substreams/node@substreams/proxy@substreams/sink-database-changes@substreams/sink-entity-changesfrogfrog-x-mintfun@qdrant/js-client-grpc@reboot-dev/resemble@reboot-dev/resemble-react@tinyburg/doorman@tinyburg/spectator@webmeshproject/apigomtmgomtmuigomtmuiv2@wolfcoded/nestjs-bufconnect@wundergraph/cosmo-connect@wundergraph/cosmo-shared@xhbmygod/livekit-client@temporalio/cloud-api-definitions
1.9.0

16 days ago

2.0.0-alpha.1

16 days ago

1.8.0

2 months ago

1.7.2

3 months ago

1.7.1

3 months ago

1.7.0

4 months ago

1.6.0

5 months ago

1.5.1

5 months ago

1.5.0

5 months ago

1.4.2

6 months ago

1.3.3

7 months ago

1.4.1

6 months ago

1.3.2

7 months ago

1.4.0

7 months ago

1.3.1

8 months ago

1.3.0

10 months ago

1.2.1

11 months ago

1.2.0

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.0

1 year ago

0.3.0

1 year ago

0.2.1

2 years ago

0.2.0

2 years ago

0.5.0

1 year ago

0.4.0

1 year ago

0.1.0

2 years ago

0.1.1

2 years ago

0.0.10

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.5

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2-alpha.3

2 years ago

0.0.2-alpha.2

2 years ago

0.0.2-alpha.1

2 years ago

0.0.1-alpha.1

2 years ago

0.0.1

2 years ago