npm.io
0.1.2 • Published 10 years ago

is-otf

Licence
MIT
Version
0.1.2
Deps
1
Vulns
0
Weekly
0
Stars
1

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

Keywords