Skip to content

balogal/asyncapi-node

 
 

Repository files navigation

AsyncAPI

This package provides all the versions of the AsyncAPI schema.

Installation

npm install @asyncapi/specs

Usage

Grab a specific AsyncAPI version:

const asyncapi = require('@asyncapi/specs/schemas/2.0.0');

// Do something with the schema.

Get a list of versions:

const versions = require('@asyncapi/specs');

console.log(versions);
// Outputs:
//
// {
//   '1.0.0': [Object],
//   '1.1.0': [Object]
// }

const asyncapi = versions['1.1.0'];

// Do something with the schema.

Author

Fran Méndez – www.fmvilas.com

About

AsyncAPI schema versions

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%