is-otf

Check if a String/Buffer/ArrayBuffer is OTF

  • is-otf

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
is-otf
100.1.28 years ago9 years agoMinified + gzip package size for is-otf in KB

Readme

is-otf Build Status
Check if a String/Buffer/ArrayBuffer is OTF

Install

$ npm install --save is-otf

Usage

var fs = require('fs');
isOtf(fs.readFileSync('FontAwesome.otf'));
//=> true

Thx

Test

$ npm test

test file from Font-Awesome

License

MIT © junmer