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

    Function hostname

    • Returns the host name of the operating system.

      Returns Promise<null | string>

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