npm install is-eot> Check if a Buffer/Uint8Array is a EOT
``sh`
$ npm install --save is-eot
##### Node.js
`js
var readChunk = require('read-chunk'); // npm install read-chunk
var isEot = require('is-eot');
var buffer = readChunk.sync('font.eot', 0, 36);
isEot(buffer);
//=> true
`
##### Browser
`js
var xhr = new XMLHttpRequest();
xhr.open('GET', 'font.eot');
xhr.responseType = 'arraybuffer';
xhr.onload = function () {
isEot(new Uint8Array(this.response));
//=> true
};
xhr.send();
`
Accepts a Buffer (Node.js) or Uint8Array.
`sh``
$ npm test
> test file from Font-Awesome
MIT © junmer