0.1.2 • Published 8 years ago

is-otf v0.1.2

Weekly downloads
9,767
License
MIT
Repository
github
Last release
8 years ago

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