Skip to content
Dev.to

Buf Has a Free API: Make Protocol Buffers...

Protobuf is powerful but painful. protoc plugins, code generation configs, import path hell — Buf fixes all of it. What Is Buf? Buf is a suite of tools for Protocol Buffers and gRPC: linting, breaking change detection, code generation, and a schema registry. Think ESLint + npm for protobuf. # Install npm install -g @bufbuild/buf # Initialize buf config init # Lint your .proto files buf lint # Generate code buf generate # Check for breaking changes buf breaking --against .git#branch=main Linting
Read original on dev.to
0
0

Comment

Sign in to join the discussion.

Loading comments…

Related

Liked this? Start your own feed.

Your own feed is waiting.
0
0