@kinobi-so/renderers
v0.22.0
Published
Exports all Kinobi renderers
Downloads
655
Maintainers
Readme
Kinobi ➤ Renderers
This package re-exports all available renderers for Kinobi IDLs.
Installation
pnpm install @kinobi-so/renderers
[!NOTE] This package is not included in the main
kinobi
package.
Available renderers
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'));