@tauri-apps/api
The JS bridge to the Rust core.
What is @tauri-apps/api
The official frontend package: invoke, events, window, path, and more from TypeScript.
Install
npm install @tauri-apps/apiUsage
import { invoke } from '@tauri-apps/api/core';
const out = await invoke<string>('greet', { name: 'Ada' });Docs
Official documentation: @tauri-apps/api.