{"_id":"is-otf","_rev":"2864480","name":"is-otf","description":"Check if a String/Buffer/ArrayBuffer is OTF","dist-tags":{"latest":"0.1.2"},"maintainers":[{"name":"npm:junmer","email":""}],"time":{"modified":"2022-09-14T03:06:56.000Z","created":"2015-02-04T18:30:13.295Z","0.1.2":"2016-05-05T18:28:59.631Z","0.1.1":"2015-02-12T14:27:58.988Z","0.1.0":"2015-02-04T18:30:13.295Z"},"users":{},"author":{"name":"junmer"},"repository":{"type":"git","url":"git+https://github.com/junmer/is-otf.git"},"versions":{"0.1.2":{"name":"is-otf","version":"0.1.2","description":"Check if a String/Buffer/ArrayBuffer is OTF","license":"MIT","repository":{"type":"git","url":"git+https://github.com/junmer/is-otf.git"},"author":{"name":"junmer"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"files":["index.js"],"keywords":["font","OpenType","OTF","type","detect","check","is","string","str","buffer"],"devDependencies":{"mocha":"*"},"dependencies":{"b3b":"0.0.1"},"gitHead":"c42b15e09602ce92ac1cc16c24b6fbd4a3f336d2","bugs":{"url":"https://github.com/junmer/is-otf/issues"},"homepage":"https://github.com/junmer/is-otf#readme","_id":"is-otf@0.1.2","_shasum":"5a6e2ab3a0b13b92a2912c1a95c73b5a574b44cc","_from":".","_npmVersion":"2.14.7","_nodeVersion":"3.3.1","_npmUser":{"name":"junmer","email":"junmer@foxmail.com"},"dist":{"shasum":"5a6e2ab3a0b13b92a2912c1a95c73b5a574b44cc","size":2773,"noattachment":false,"key":"/is-otf/-/is-otf-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-otf/download/is-otf-0.1.2.tgz"},"maintainers":[{"name":"npm:junmer","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/is-otf-0.1.2.tgz_1462472936581_0.04465785110369325"},"directories":{},"publish_time":1462472939631,"_hasShrinkwrap":false,"_cnpm_publish_time":1462472939631,"_cnpmcore_publish_time":"2021-12-19T01:09:21.704Z"},"0.1.1":{"name":"is-otf","version":"0.1.1","description":"Check if a String/Buffer/ArrayBuffer is OTF","license":"MIT","repository":{"type":"git","url":"https://github.com/junmer/is-otf"},"author":{"name":"junmer"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"files":["index.js"],"keywords":["font","OpenType","OTF","type","detect","check","is","string","str","buffer"],"devDependencies":{"mocha":"*"},"dependencies":{"b3b":"0.0.1"},"gitHead":"1b9b26761104751aa305d42cc17d1e72b316aa30","bugs":{"url":"https://github.com/junmer/is-otf/issues"},"homepage":"https://github.com/junmer/is-otf","_id":"is-otf@0.1.1","_shasum":"b0c3561fe2914b39f511954d07fcd59bc7bc58e0","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"junmer","email":"junmer@foxmail.com"},"maintainers":[{"name":"npm:junmer","email":""}],"dist":{"shasum":"b0c3561fe2914b39f511954d07fcd59bc7bc58e0","size":2765,"noattachment":false,"key":"/is-otf/-/is-otf-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-otf/download/is-otf-0.1.1.tgz"},"directories":{},"publish_time":1423751278988,"_hasShrinkwrap":false,"_cnpm_publish_time":1423751278988,"_cnpmcore_publish_time":"2021-12-19T01:09:21.892Z"},"0.1.0":{"name":"is-otf","version":"0.1.0","description":"Check if a String/Buffer/ArrayBuffer is OTF","license":"MIT","repository":{"type":"git","url":"https://github.com/junmer/is-otf"},"author":{"name":"junmer"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"files":["index.js"],"keywords":["font","OpenType","OTF","type","detect","check","is","string","str","buffer"],"devDependencies":{"mocha":"*"},"dependencies":{"b3b":"0.0.1"},"gitHead":"d15e79dd4e352b60a8a86d1d1094c148514827f7","bugs":{"url":"https://github.com/junmer/is-otf/issues"},"homepage":"https://github.com/junmer/is-otf","_id":"is-otf@0.1.0","_shasum":"1e481e0c4d60846dd7fc16226a08b1dac5f656b9","_from":".","_npmVersion":"2.0.0-alpha-5","_npmUser":{"name":"junmer","email":"junmer@foxmail.com"},"maintainers":[{"name":"npm:junmer","email":""}],"dist":{"shasum":"1e481e0c4d60846dd7fc16226a08b1dac5f656b9","size":2013,"noattachment":false,"key":"/is-otf/-/is-otf-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/is-otf/download/is-otf-0.1.0.tgz"},"directories":{},"publish_time":1423074613295,"_hasShrinkwrap":false,"_cnpm_publish_time":1423074613295,"_cnpmcore_publish_time":"2021-12-19T01:09:22.103Z"}},"readme":"# is-otf [![Build Status](https://travis-ci.org/junmer/is-otf.svg?branch=master)](https://travis-ci.org/junmer/is-otf)\n\n> Check if a String/Buffer/ArrayBuffer is [OTF](http://www.microsoft.com/typography/otspec/)\n\n\n## Install\n\n```sh\n$ npm install --save is-otf\n```\n\n## Usage\n\n```js\nvar fs = require('fs');\nisOtf(fs.readFileSync('FontAwesome.otf'));\n//=> true\n```\n\n## Thx\n\n- [ynakajima/ttf.js](https://github.com/ynakajima/ttf.js)\n\n## Test\n\n```sh\n$ npm test\n```\n\n> test file from [Font-Awesome](https://github.com/FortAwesome/Font-Awesome)\n\n## License\n\nMIT © [junmer](https://github.com/junmer/)\n","_attachments":{},"homepage":"https://github.com/junmer/is-otf#readme","bugs":{"url":"https://github.com/junmer/is-otf/issues"},"license":"MIT"}