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

    Function type

    • Returns the current operating system type. Returns 'linux' on Linux, 'macos' on macOS, 'windows' on Windows, 'ios' on iOS and 'android' on Android.

      Returns OsType

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

      2.0.0