https://deno.land/x/endianess 

Endianness Build Status

A very simple Deno module to determine the endianness of the host

Usage

Example shown is based on a Little Endian host

import endianess from 'https://raw.github.com/denolibs/endianness/master/mod.ts';
console.log(endianess.big); // false
console.log(endianess.little); // true