hostname
hostname():
Promise<null|string>
Defined in: index.ts:181
Returns the host name of the operating system.
Promise<null | string>
import { hostname } from '@tauri-apps/plugin-os';const hostname = await hostname();© 2025 Tauri Contributors. CC-BY / MIT