React

bun add @wetron/react

@wetron/react -> @wetron/core -> all parser packages. One command installs the renderer, core, and all five format parsers.

Peer dependencies you must install separately:

bun add react react-dom @xyflow/react @phosphor-icons/react @base-ui/react

Import the stylesheet once in your entry point:

import "@wetron/react/styles.css";

Svelte

bun add @wetron/svelte

Peer dependencies:

bun add svelte @xyflow/svelte phosphor-svelte

Core only (no renderer)

If you only need parsing - custom rendering, server-side analysis, or testing:

bun add @wetron/core

This pulls in all parser packages as transitive dependencies.

Version constraints

PeerMinimum
react18
@xyflow/react12
@phosphor-icons/react2
@base-ui/react1
svelte5
@xyflow/svelte1.5
phosphor-svelte3