asyncapi-node:AsyncAPI架构版本

时间:2021-04-29 16:58:02
【文件属性】:
文件名称:asyncapi-node:AsyncAPI架构版本
文件大小:96KB
文件格式:ZIP
更新时间:2021-04-29 16:58:02
nodejs asyncapi JavaScript 异步API 此软件包提供AsyncAPI架构的所有版本。 安装 npm install @asyncapi/specs 用法 抓取特定的AsyncAPI版本: const asyncapi = require ( '@asyncapi/specs/schemas/2.0.0' ) ; // Do something with the schema. 获取版本列表: 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 t
【文件预览】:
asyncapi-node-master
----.github()
--------workflows()
----.npmignore(17B)
----schemas()
--------1.2.0.json(26KB)
--------1.1.0.json(22KB)
--------2.0.0-rc2.json(33KB)
--------2.0.0-rc1.json(33KB)
--------2.0.0.json(34KB)
--------1.0.0.json(20KB)
----LICENSE(11KB)
----test()
--------index.js(3KB)
----README.md(671B)
----.gitignore(42B)
----index.js(302B)
----package-lock.json(274KB)
----package.json(2KB)

网友评论