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