is-woff2

Check if a buffer/Uint8Array is a woff2 file

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
is-woff2
401.0.09 years ago9 years agoMinified + gzip package size for is-woff2 in KB

Readme

is-woff2 Build Status
Check if a buffer/Uint8Array is a woff2 file

Install

$ npm install --save is-woff2

Usage

var read = require('fs').readFileSync;
var isWoff2 = require('is-woff2');

isWoff2(read('example.woff2'));
//=> true

License

MIT © Arthur Verschaeve