Check if a String/Buffer is TTF
$ npm install --save is-ttf
var fs = require('fs'); isTtf(fs.readFileSync('pixel.ttf')); //=> true
source
options
tables
MIT © junmer