Socket
Socket
Sign inDemoInstall

@bufbuild/protoplugin

Package Overview
Dependencies
5
Maintainers
10
Versions
31
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @bufbuild/protoplugin

Helps to create your own Protocol Buffers code generators.


Version published
Weekly downloads
95K
increased by0.99%
Maintainers
10
Install size
62.7 MB
Created
Weekly downloads
 

Readme

Source

@bufbuild/protoplugin

This package helps to create your own code generator plugin using the Protobuf-ES plugin framework.

Protobuf-ES is a complete implementation of Protocol Buffers in TypeScript, suitable for web browsers and Node.js.

In addition to a full Protobuf runtime library, it also provides a code generator protoc-gen-es, which utilizes a plugin framework to generate base types from your Protobuf schema. It is fully compatible with both Buf and protoc compilers.

And now, you can write your own Protobuf-ES compatible plugins using this same plugin framework with the @bufbuild/protoplugin package.

With @bufbuild/protoplugin, you can generate your own TypeScript code tailored to your project or needs. You also have various options for producing JavaScript and TypeScript declaration files:

  • Exercise full control by writing your own JavaScript and declaration file generators in addition to TypeScript.

  • Generate TypeScript files only and let the framework generate JavaScript and declaration files automatically using our internal TypeScript compiler.

  • Generate TypeScript files only and bring your own TypeScript compiler, using it to generate JavaScript and declaration files with your own version of TypeScript and your own compiler options.

With protoplugin, you have all the tools at your disposal to produce ECMAScript-compliant code.

Usage

Get started now with our plugin documentation.

FAQs

Last updated on 06 Oct 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc