This package is a toolkit composed of static functions to help reading and writing binary formats.
$ npm install --save codecutilsThe name codecutils is the name of the package, while CodecUtils is the name of the class that contains static methods.
Read the documetation to know about the static methods available.
In the browser, you cqn use the version bundled in the dist directory.
Somewhere in your head:
<script src="./path/to/codecutils.js"></script>Somewhere within <script>...</script> markups:
var isMachineLittleEndian = codecutils.CodecUtils.isPlatformLittleEndian()import { CodecUtils } from 'codecutils';