Security News
Research
Supply Chain Attack on Rspack npm Packages Injects Cryptojacking Malware
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
@asyncapi/cli
Advanced tools
CLI to work with your AsyncAPI files. Currently supports validation, but it is under development for more features.
$ npm install --global @asyncapi/cli
Go ahead and run command asyncapi --help
to get complete help for using CLI. If having doubt about any particular command do run asyncapi <command> --help
to get help for that command.
Help string for all the supported commands
asyncapi --help
USAGE
asyncapi [options] [command]
OPTIONS
-h, --help display help for command
--version output the version number
COMMANDS
validate validate asyncapi file
context Manage contexts
asyncapi validate --help
USAGE
asyncapi validate [options]
OPTIONS
-h, --help display help for command
-f, --file <spec-file-path> Path of the asyncapi file
-c, --context <saved-context-name> context name to use
-w, --watch Enable Watch Mode (not implemented yet)
asyncapi context --help
USAGE
asyncapi context [options] [command]
Context is what makes it easier for you to work with multiple AsyncAPI files.
You can add multiple different files to a contextThis way you do not have to pass
--file flag with path to the file every time but just --context flag with reference name
You can also set a default context, so neither --file nor --context flags are needed.
OPTIONS
-h, --help display help for command
COMMANDS
list list of all saved contexts
current see current context
use <context-name> set given context as default/current
add <context-name> <spec-file-path> add/update context
remove <context-name> remove a context
For now --context flag is requried to run validate command
FAQs
All in one CLI for all AsyncAPI tools
The npm package @asyncapi/cli receives a total of 20,794 weekly downloads. As such, @asyncapi/cli popularity was classified as popular.
We found that @asyncapi/cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.
Security News
Sonar’s acquisition of Tidelift highlights a growing industry shift toward sustainable open source funding, addressing maintainer burnout and critical software dependencies.