Skip to content
A simple module to determine the endianness of the host
TypeScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.travis.yml
LICENSE
README.md
mod.ts
test.ts

README.md

Endianness Build Status

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

  • Completely written in TypeScript
  • No dependancies

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
You can’t perform that action at this time.