This package re-exports all available renderers for Kinobi IDLs.
pnpm install @kinobi-so/renderers
[!NOTE] This package is not included in the main
kinobi
package.
The following renderer packages are included in this package:
-
@kinobi-so/renderers-js
asrenderJavaScriptVisitor
-
@kinobi-so/renderers-js-umi
asrenderJavaScriptUmiVisitor
-
@kinobi-so/renderers-rust
asrenderRustVisitor
// node ./kinobi.mjs
import { renderJavaScriptVisitor, renderJavaScriptUmiVisitor, renderRustVisitor } from '@kinobi-so/renderers';
kinobi.accept(renderJavaScriptVisitor('clients/js/src/generated'));
kinobi.accept(renderJavaScriptUmiVisitor('clients/js-umi/src/generated'));
kinobi.accept(renderRustVisitor('clients/rust/src/generated'));