hostname
Module @netwiv/api/plugins/os · Kind Function
import { hostname } from '@netwiv/api/plugins/os';Returns the host name of the operating system.
Signature
Section titled “Signature”function hostname(): Promise<string | null>Example
Section titled “Example”import { hostname } from '@netwiv/api/plugins/os';const hostname = await hostname();Descriptions come from the pinned @tauri-apps/plugin-os@2.3.2 declarations (MIT OR Apache-2.0); imports are shown with @netwiv/api paths.