@launchdarkly/js-client-sdk-common - v1.35.0
    Preparing search index...

    Interface PlatformData

    Information about the platform of the SDK and the environment it is executing.

    interface PlatformData {
        additional?: Record<string, string>;
        ld_application?: LDApplication;
        ld_device?: LDDevice;
        name?: string;
        os?: { arch?: string; name?: string; version?: string };
    }
    Index
    additional?: Record<string, string>

    Any additional attributes associated with the platform.

    ld_application?: LDApplication

    Additional information about the executing environment. Should be populated when available. Not all platforms will have this data.

    ld_device?: LDDevice

    Device hardware information. Should be populated when available. Not all platforms will have this data.

    name?: string

    The name of the platform the SDK is running on. For instance 'Node'.

    os?: { arch?: string; name?: string; version?: string }

    Information about the OS on which the SDK is running. Should be populated when available. Not all platforms will make this data accessible.

    Type Declaration

    • Optionalarch?: string

      The architecture. Ideally at runtime, but may be build time if that is a constraint.

    • Optionalname?: string

      The name of the OS. "MacOS", "Windows", or "Linux". If not one of those, then use the value provided by the OS.

    • Optionalversion?: string

      The version of the OS.