Skip to content

sidecar

@tynd/plugin-sidecar enables the host sidecar API and exposes its typed client. The API itself is documented on the sidecar page.

Terminal window
tynd add sidecar
import { sidecar } from "@tynd/plugin-sidecar/client";

Declaring the plugin compiles the matching api-sidecar Cargo feature into the app host on the next tynd dev or tynd build. Or by hand: bun add @tynd/plugin-sidecar and list it in plugins in tynd.config.ts.

Package @tynd/plugin-sidecar
Kind Host-backed official plugin (facade over a host API)
Host API sidecar
Aliases for tynd add sidecars
Catalog permission labels host:sidecar, child-process
Estimated size 160 KB
Client exports sidecar