is-woff2

1.0.0 • Public • Published

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

Package Sidebar

Install

npm i is-woff2

Weekly Downloads

4,182

Version

1.0.0

License

MIT

Last publish

Collaborators

  • arthurvr