is-ttf
0.2.2 • Public • Published is-ttf
Check if a String/Buffer is TTF
Install
$ npm install --save is-ttf
Usage
var fs = require('fs');
isTtf(fs.readFileSync('pixel.ttf'));
API
isTtf(source[, options])
source
ArrayBuffer | Buffer | String
options
tables
necessarily tables of ttf
thx
License
MIT © junmer
Versions
Current Tags
- VersionDownloads (Last 7 Days)
- 0.2.2
8,564
Version History
Package Sidebar
Install
Weekly Downloads