Tauri Plugin Dev Guest JS

Use when authoring the npm-package half of a Tauri v2 plugin — the `guest-js/index.ts` exporting friendly wrappers around `invoke('plugin:my-plugin/cmd_name', args)`, typed `Channel` streaming wrappers, `addPluginListener('plugin-name', 'event-name', cb)` for native-emitted events, the `package.json` `exports` map for dual ESM/CJS, bundling with `tsup` or `rollup`, lockstep versioning with the Rust crate, and the publish workflow.

stuffbucket Updated 4 repo stars

File contents

stuffbucket/skills commit 508f4397cd

Frequently asked questions

npx get-skill add stuffbucket/tauri-plugin-dev-guest-js