is-otf

0.1.2 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.2
    8,327
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.2
    8,327
  • 0.1.1
    68
  • 0.1.0
    0

Package Sidebar

Install

npm i is-otf

Weekly Downloads

7,049

Version

0.1.2

License

MIT

Last publish

Collaborators

  • junmer