Skip to content

arthurvr/is-woff2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

is-woff2 Build Status

Check if a buffer/Uint8Array is a woff2 file

Install

$ npm install --save is-woff2

Usage

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

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

License

MIT © Arthur Verschaeve

About

Check if a buffer/Uint8Array is a WOFF2 file

Resources

License

Stars

Watchers

Forks

Packages