Socket
Book a DemoInstallSign in
Socket

@asyncapi/generator

Package Overview
Dependencies
Maintainers
3
Versions
225
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@asyncapi/generator

The AsyncAPI generator. It can generate documentation, code, anything!

latest
Source
npmnpm
Version
3.0.1
Version published
Weekly downloads
32K
-62%
Maintainers
3
Weekly downloads
 
Created
Source

Generator is a tool that you can use to generate whatever you want basing on the AsyncAPI specification file as an input. For more information read the docs.

There is a large number of templates that are ready to use and are officially supported by the AsyncAPI Initiative.

List of official generator templates

Template NameDescriptionSource code
@asyncapi/nodejs-templateGenerates Nodejs service that uses Hermes packageclick here
@asyncapi/nodejs-ws-templateGenerates Nodejs service that supports WebSockets protocol onlyclick here
@asyncapi/java-templateGenerates Java JMS applicationclick here
@asyncapi/java-spring-templateGenerates Java Spring serviceclick here
@asyncapi/java-spring-cloud-stream-templateGenerates Java Spring Cloud Stream serviceclick here
@asyncapi/python-paho-templateGenerates Python service that uses Paho libraryclick here
@asyncapi/html-templateGenerates HTML documentation siteclick here
@asyncapi/markdown-templateGenerates documentation in Markdown fileclick here
@asyncapi/ts-nats-templateGenerates TypeScript NATS clientclick here
@asyncapi/go-watermill-templateGenerates Go client using Watermillclick here
@asyncapi/dotnet-nats-templateGenerates .NET C# client using NATSclick here
@asyncapi/php-templateGenerates PHP client using RabbitMQclick here
@asyncapi/dotnet-rabbitmq-templateGenerates .NET C# client using RabbitMQclick here

You can find above templates and the ones provided by the community in this list

[!IMPORTANT] Experimental Feature: AsyncAPI Generator also comes with baked-in templates - official templates shipped directly inside the Generator (@asyncapi/generator). They cover code, docs, configs, and SDKs, and are maintained under /packages/templates directory, following a strict, opinionated structure for consistency and ease of maintenance. This feature is not recommended for production use. For those who want to try them out or learn more, see the Baked-in templates documentation.

Keywords

asyncapi

FAQs

Package last updated on 16 Dec 2025

Did you know?

Socket

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