On this page

    M

    os.endianness

    History
    os.endianness(): string
    Returns:string

    Returns 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.