is-otf
Check if a String/Buffer/ArrayBuffer is OTF
Last updated 10 years ago by junmer .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install is-otf 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.1.2                                ...           latest (10 years ago)

3 Versions

  • 0.1.2                                ...           10 years ago
  • 0.1.1                                ...           11 years ago
  • 0.1.0                                ...           11 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (1)
Dev Dependencies (1)
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |