@tauri-apps/plugin-os - v2.3.2
    Preparing search index...

    Function hostname

    • Returns the host name of the operating system.

      Returns Promise<string | null>

      import { hostname } from '@tauri-apps/plugin-os';
      const hostname = await hostname();