JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1661
  • Score
    100M100P100Q168202F
  • License MIT

Exports all Codama renderers

Package Exports

  • @codama/renderers

Readme

Codama ➤ Renderers

npm npm-downloads

This package re-exports all available renderers for Codama IDLs.

Installation

pnpm install @codama/renderers

[!NOTE] This package is not included in the main codama package.

Available renderers

The following renderer packages are included in this package:

// node ./codama.mjs
import { renderJavaScriptVisitor, renderJavaScriptUmiVisitor, renderRustVisitor } from '@codama/renderers';

codama.accept(renderJavaScriptVisitor('clients/js/src/generated'));
codama.accept(renderJavaScriptUmiVisitor('clients/js-umi/src/generated'));
codama.accept(renderRustVisitor('clients/rust/src/generated'));