protoc-gen-js
brew install protoc-gen-js
v4.0.2_4
BSD-3-Clause
Protocol buffers JavaScript generator plugin
464
30-day installs · #1822
1.2k
90-day · #2056
4.0k
365-day · #2128
465
★ GitHub stars · updated 2mo ago
Runtime dependencies
Build dependencies
Links
- https://github.com/protocolbuffers/protobuf-javascript
- GitHub: protocolbuffers/protobuf-javascript
- Brew formula source: Formula/p/protoc-gen-js.rb
Raw metadata
{
"aliases": [],
"alternatives": [],
"build_dependencies": [
"pkgconf"
],
"categories": [],
"caveats": null,
"conflicts_with": [],
"dependencies": [
"abseil",
"protobuf"
],
"deprecated": 0,
"deprecation_reason": null,
"desc": "Protocol buffers JavaScript generator plugin",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:41:41+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "protoc-gen-js",
"github_default_branch": "main",
"github_last_commit_at": "2026-06-15T15:22:55Z",
"github_readme_excerpt": "Protocol Buffers - Google\u0027s data interchange format\n===================================================\n\nCopyright 2008 Google Inc.\n\nThis directory contains the JavaScript Protocol Buffers runtime library.\n\nThe library is currently compatible with:\n\n1. CommonJS-style imports (eg. `var protos = require(\u0027my-protos\u0027);`)\n2. Closure-style imports (eg. `goog.require(\u0027my.package.MyProto\u0027);`)\n\nSupport for ES6-style imports is not implemented yet. Browsers can\nbe supported by using Browserify, webpack, Closure Compiler, etc. to\nresolve imports at compile time.\n\nTo use Protocol Buffers with JavaScript, you need two main components:\n\n1. The protobuf runtime library. You can install this with\n `npm install google-protobuf`, or use the files in this directory.\n If npm is not being used, as of 3.3.0, the files needed are located in binary subdirectory;\n arith.js, constants.js, decoder.js, encoder.js, map.js, message.js, reader.js, utils.js, writer.js\n2. The Protocol Compiler `protoc`. This translates `.proto` files\n into `.js` files. The compiler is not currently available via\n npm, but you can download a pre-built binary\n [on GitHub](https://github.com/protocolbuffers/protobuf/releases)\n (look for the `protoc-*.zip` files under **Downloads**).\n\n\n\nProject Status\n===\n\nAs of v4.0.0, you can directly install the `protoc-gen-js` plugin from npm as\n[@protocolbuffers/protoc-gen-js](https://www.npmjs.com/package/@protocolbuffers/protoc-gen-js).\n\n**Support Status**\n\nWe currently do not have staffing for more than minimal support for this open\nsource project. We will answer questions and triage any issues.\n\n**Contributing**\n\nContributions should preserve existing behavior where possible. Current\ncustomers rely on applications continuing to work across minor version upgrades.\nWe encourage small targeted contributions. Thanks!\n\n\nSetup\n=====\n\nFirst, obtain the Protocol Compiler. The easiest way is to download\na pre-built binary from [https://github.com/protocolbuffers/pr",
"github_repo": "protocolbuffers/protobuf-javascript",
"github_stars": 465,
"github_topics": [],
"homepage": "https://github.com/protocolbuffers/protobuf-javascript",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": null,
"installs_30d": 464,
"installs_365d": 4004,
"installs_90d": 1160,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "BSD-3-Clause",
"llm_generated_at": null,
"llm_model": null,
"name": "protoc-gen-js",
"oldnames": [],
"one_liner": null,
"optional_dependencies": [],
"rank_30d": 1822,
"rank_365d": 2128,
"rank_90d": 2056,
"raw_hash": "977a33f39b45582d",
"recommended_dependencies": [],
"revision": 4,
"ruby_source_path": "Formula/p/protoc-gen-js.rb",
"tap": "homebrew/core",
"test_dependencies": [],
"uses_from_macos": [],
"version_head": "HEAD",
"version_stable": "4.0.2",
"versioned_formulae": [],
"why_use_this": null
}