New:Socket for Asana Is Now Available.Learn more
Get Started

@bufbuild/protobuf

Package Overview
Dependencies
Maintainers
6
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bufbuild/protobuf

Protocol Buffers for ECMAScript. Fully compliant with the Protobuf conformance tests.

latest
Source
npmnpm
Version
2.14.0
Version published
Weekly downloads
21M
2.36%
Maintainers
6
Weekly downloads
 
Created
Source

@bufbuild/protobuf

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

Protocol Buffers for ECMAScript

A complete implementation of Protocol Buffers in TypeScript, suitable for web browsers, Node.js, Deno, and Bun, created by Buf.

Protobuf-ES is a solid, modern alternative to existing Protobuf implementations for the JavaScript ecosystem. It provides a comprehensive plugin framework and decouples the base types from RPC functionality.

Some additional features:

  • Generates pure TypeScript
  • Plain message objects, no getters/setters
  • Reflection, registries, and custom options
  • 100% conformant against the official Protobuf test suite
  • Standard plugin-based generation, works with the Buf CLI as well as protoc
  • Write your own code generators with @bufbuild/protoplugin
  • Pairs with @connectrpc/connect for RPC and @bufbuild/protovalidate for validation

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 protobufes.com.

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.

Keywords

protobuf

FAQs

Package last updated on 13 Aug 2026

Related posts