screenshot
@tynd/plugin-screenshot enables the host screenshot API and exposes its typed client. The API itself is documented on the screenshot page.
Install
Section titled “Install”tynd add screenshotimport { screenshot } from "@tynd/plugin-screenshot/client";Declaring the plugin compiles the matching api-screenshot Cargo feature into the app host on the next tynd dev or tynd build. Or by hand: bun add @tynd/plugin-screenshot and list it in plugins in tynd.config.ts.
Package
Section titled “Package”| Package | @tynd/plugin-screenshot |
| Kind | Host-backed official plugin (facade over a host API) |
| Host API | screenshot |
Aliases for tynd add |
screen-capture |
| Catalog permission labels | host:screenshot, screen-recording |
| Estimated size | 190 KB |
| Client exports | CapturedImage, MonitorInfo, screenshot, WindowInfo |