Interface XpmLiquidMap

interface XpmLiquidMap {
    env: ProcessEnv;
    os: {
        EOL: string;
        arch: string;
        constants: {
            signals: {
                [key: string]: number;
            };
            errno: {
                [key: string]: number;
            };
        };
        cpus: CpuInfo[];
        endianness: "BE" | "LE";
        homedir: string;
        hostname: string;
        platform: Platform;
        release: string;
        tmpdir: string;
        type: string;
        version: string;
    };
    path: {
        delimiter: string;
        sep: string;
        win32: {
            delimiter: string;
            sep: string;
        };
        posix: {
            delimiter: string;
            sep: string;
        };
    };
    package?: any;
    configuration?: {
        name: string;
        [key: string]: any;
    };
    properties?: Properties;
}

Properties

env: ProcessEnv
os: {
    EOL: string;
    arch: string;
    constants: {
        signals: {
            [key: string]: number;
        };
        errno: {
            [key: string]: number;
        };
    };
    cpus: CpuInfo[];
    endianness: "BE" | "LE";
    homedir: string;
    hostname: string;
    platform: Platform;
    release: string;
    tmpdir: string;
    type: string;
    version: string;
}

Type declaration

  • EOL: string

    The operating system-specific end-of-line marker.

    • \n on POSIX
    • \r\n on Windows
  • arch: string

    Possible values are 'arm', 'arm64', 'ia32', 'mips', 'mipsel', 'ppc', 'ppc64', 's390', 's390x', 'x32', and 'x64'.

  • constants: {
        signals: {
            [key: string]: number;
        };
        errno: {
            [key: string]: number;
        };
    }

    Contains commonly used operating system-specific constants for error codes, process signals, and so on. The specific constants defined are described in OS constants

    • signals: {
          [key: string]: number;
      }
      • [key: string]: number
    • errno: {
          [key: string]: number;
      }
      • [key: string]: number
  • cpus: CpuInfo[]

    An array of objects containing information about each logical CPU core.

  • endianness: "BE" | "LE"

    A string identifying the endianness of the CPU for which the Node.js binary was compiled.

    Possible values are 'BE' for big endian and 'LE' for little endian.

  • homedir: string

    The string path of the current user's home directory.

  • hostname: string

    The host name of the operating system as a string.

  • platform: Platform

    A string identifying the operating system platform. Possible values are 'aix', 'darwin', 'freebsd', 'linux', 'openbsd', 'sunos', and 'win32'.

  • release: string

    The operating system as a string.

  • tmpdir: string

    Returns the operating system's default directory for temporary files as a string.

  • type: string

    Returns the operating system name as returned by uname(3). For example, it returns 'Linux' on Linux, 'Darwin' on macOS, and 'Windows_NT' on Windows.

  • version: string

    Returns a string identifying the kernel version.

    On POSIX systems, the operating system release is determined by calling uname(3). On Windows, RtlGetVersion() is used, and if it is not available, GetVersionExW() will be used.

path: {
    delimiter: string;
    sep: string;
    win32: {
        delimiter: string;
        sep: string;
    };
    posix: {
        delimiter: string;
        sep: string;
    };
}

Type declaration

  • delimiter: string

    Provides the platform-specific path delimiter:

    • ; for Windows
    • : for POSIX
  • sep: string

    Provides the platform-specific path segment separator:

    • \ on Windows
    • / on POSIX
  • win32: {
        delimiter: string;
        sep: string;
    }
    • delimiter: string
    • sep: string
  • posix: {
        delimiter: string;
        sep: string;
    }
    • delimiter: string
    • sep: string
package?: any
configuration?: {
    name: string;
    [key: string]: any;
}

Type declaration

  • [key: string]: any
  • name: string
properties?: Properties

Generated using TypeDoc