@ir-kit/asyncapi-core
v0.1.0
Published
Shared AsyncAPI 3.0 primitives for codegen — uniform parseSpec entry point on top of @asyncapi/parser, plus AMQP binding extractors and routing-key matching. Mirror of @ir-kit/openapi-core for the AsyncAPI track.
Maintainers
Readme
@ir-kit/asyncapi-core
Shared AsyncAPI 3.0 primitives for codegen. Mirror of @ir-kit/openapi-core for the AsyncAPI track — uniform parseSpec entry point on top of @asyncapi/parser, plus AMQP binding extractors and routing-key matching.
Install
npm install @ir-kit/asyncapi-core
# or pnpm / yarnPeer deps: @asyncapi/parser.
Usage
import { parseSpec } from "@ir-kit/asyncapi-core";
const { spec, channels, operations, messages } = await parseSpec("./events.yaml");Designed for emitters (@ir-kit/asyncapi-typescript) to consume; not typically called from app code.
Status
0.1.0 — first release under the @ir-kit/* scope. Replaces the legacy @ahmedrowaihi/asyncapi-core (deprecated).
Repo
Source at ir-kit/ir-kit.
