{"library":"google-protobuf","type":"library","category":null,"description":"Protocol Buffers for JavaScript provides the runtime library for Google's efficient, language-agnostic, and extensible mechanism for serializing structured data. The current stable version is 4.0.2, with releases generally tied to upstream `protoc` compiler updates and critical bug fixes, focusing on maintaining compatibility. This package primarily serves as the runtime component, which is internally consumed by JavaScript files generated from `.proto` definitions using the `protoc` compiler and its `protoc-gen-js` plugin. It explicitly supports CommonJS-style and Closure-style imports for the generated code, but direct ES6 module support for these generated `.js` files is not yet implemented, often necessitating build tools like Webpack or Browserify for seamless browser integration. A key differentiator is its deep integration with the broader Protocol Buffers ecosystem, offering a robust and standardized solution for defining and exchanging structured data across different programming languages in JavaScript and Node.js applications.","language":"javascript","status":"maintenance","version":"4.0.2","tags":["javascript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install google-protobuf","imports":["const { MyMessage } = require('./my_proto_pb');","const { Timestamp } = require('google-protobuf/google/protobuf/timestamp_pb');","const jspb = require('google-protobuf/google/protobuf/jspb/jspb.js');"]},{"cmd":"yarn add google-protobuf","imports":[]},{"cmd":"pnpm add google-protobuf","imports":[]}],"homepage":"https://protobuf.dev","github":"https://github.com/protocolbuffers/protobuf-javascript","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/google-protobuf","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/google-protobuf/compatibility"}}