
Security News
Insecure Agents Podcast: Certified Patches, Supply Chain Security, and AI Agents
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.
asyncapi-preview
Advanced tools
Preview AsyncAPI documents inside VSCode.
AsyncAPI Preview was simplified and reworked from scratch to use the latest @asyncapi/asyncapi-react, removing old dependencies on Express, socket.io and js-yaml with better startup performance and bundle size.
You can open AsyncAPI Preview from the editor title/context menu. (If you don't see that button, you can use shift+command+P to open command palette and select Preview AsyncAPI)

The extension now runs in the web version of VS Code i.e. directly in your browser on vscode.dev, github.dev, gitlab.com/-/ide, gitpod.io, and other cloud development environments, as well as a local browser host for development.
A) On vscode.dev / github.dev
B) Locally in a browser (dev/test)
npm install
npm run build
{
"scripts": {
"open-in-browser": "vscode-test-web --extensionDevelopmentPath=. --port=8082 ."
},
"devDependencies": {
"@vscode/test-web": "^1.x.x"
}
}
Then:
npm run open-in-browser
This opens a web VS Code at http://localhost:8082. Open a workspace/folder that contains your AsyncAPI YAMLs, then run AsyncAPI: Preview Document.
Tip: If you don’t see the preview, ensure your file’s language mode is YAML (bottom-right of the status bar), and check Developer: Show Running Extensions to confirm activation.
Automatic hot-reloading on editor save, but currently, it doesn't reload when saving referenced external files.
Open an empty or otherwise yaml file and start typing one of the following prefixes, you may need to press Ctrl+space to trigger autocompletion in some cases:
add asyncapi skeleton: Adds an asyncapi skeleton for jump starting your API editing.add asyncapi subscribe to async request: Inserts a new subscribe operation, for listening to incoming async requests/commands.add asyncapi publish event operation: Inserts a new publish operation, for producing domain events.add asyncapi message: Inserts a new message, you can choose it to be either a Request or an Event.Once snippets are inserted use the <TAB> key to travel between snippet placeholders.
You can also autogenerate an Schema object from a JSON example.
Right-click inside #/components/schemas section and choose AsyncAPI: Paste as Schema from the context menu.

AsyncAPI Viewer utilizes the following open source projects:
FAQs
Preview AsyncAPI documents inside VSCode.
The npm package asyncapi-preview receives a total of 5 weekly downloads. As such, asyncapi-preview popularity was classified as not popular.
We found that asyncapi-preview demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
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.

Security News
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.

Security News
The planned feature introduces a review step before releases go live, following the Shai-Hulud attacks and a rocky migration off classic tokens that disrupted maintainer workflows.