Simple npm wrapper that downloads and runs Google's Protocol Buffers compiler (protoc) for the current operating system. This package mirrors protoc version numbers (currently 3.10.0) but updates are lagging behind official releases. Use it when you need a quick protoc binary via npm without manual installation. For reliable and up-to-date protoc binaries, consider using protobuf-compiler or downloading from GitHub releases.
npm install protoc-binNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to import protoc-bin, get the binary path, and run protoc --version.
Ensure network connectivity on first run or pre-cache the binary in CI.
Consider using a more actively maintained package like protobuf-compiler or download protoc directly from GitHub.
Check that your OS/architecture is supported. For unsupported systems, use protoc directly.
Delete the cache directory (usually in node_modules/.cache/bin-wrapper) and reinstall the package.
Use an alternative method to obtain protoc, such as downloading from the official protobuf releases.
Run the install command with sufficient permissions or set a custom cache directory with write access.