is-ttf 
Check if a String/Buffer is TTF
Install
$ npm install --save is-ttfUsage
var fs = require('fs');
isTtf(fs.readFileSync('pixel.ttf'));
//=> trueAPI
isTtf(source[, options])
sourceArrayBuffer | Buffer | Stringoptionstablesnecessarily tables of ttf
thx
License
MIT © junmer