{"repo":"protobufjs/protobuf.js","free":true,"listed":false,"github":"https://github.com/protobufjs/protobuf.js","clone":"git clone https://github.com/protobufjs/protobuf.js.git","description":"High-performance Protocol Buffers for JavaScript and TypeScript. Conformant through Edition 2024, and unusually versatile. No protoc required.","language":"JavaScript","stars":10579,"topics":["javascript","typescript","protobuf","protocol-buffers"],"license":null,"category":"dev-tools","readme_excerpt":"protobuf.js protobuf.js is a very fast, conformant, and unusually versatile JavaScript implementation of Protocol Buffers for Node.js and browsers. It is independently maintained with contributions from the upstream Protocol Buffers project, works with .proto schemas without requiring protoc , and supports runtime reflection as well as specialized code generation with matching TypeScript declarations. If protobuf.js is important to your project or organization, or if you depend on it commercially, consider supporting its ongoing maintenance. Sponsorship helps make bug fixes, releases, LTS/security handling, and user support more sustainable. Getting started Getting up and running is simple: Install the package, load a schema, and you are all set to encode and decode Protobuf messages. From there, protobuf.js grows with your requirements: Add code generation with TypeScript declarations, transport-agnostic services, support for text-based formats, and more as needed. Install The command line utility for generating reflection bundles, static code and TypeScript declarations is published as an add-on package: The CLI is a JS-native protobuf.js toolchain that does not require setting up protoc . If you prefer a protoc -based workflow, it provides protoc-gen-pbjs as an option. Browser builds Canonical browser builds are provided via the jsDelivr CDN, supporting CommonJS, AMD and global window.protobuf . Make sure to pin an exact version in production. Usage The examples below use ","default_branch":null,"files":null,"tree":[],"storefront":"/r/protobufjs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/protobufjs/protobuf.js/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}