Skip to content

kevva/is-bzip2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

is-bzip2 Build Status

Check if a Buffer/Uint8Array is a BZIP2 file

Install

$ npm install --save is-bzip2

Usage

var read = require('fs').readFileSync;
var isBzip2 = require('is-bzip2');

isBzip2(read('foo.bz2'));
//=> true

License

MIT © Kevin Mårtensson

About

Check if a Buffer/Uint8Array is a BZIP2 file

Resources

License

Stars

Watchers

Forks

Packages

No packages published