is-bzip2
Check if a Buffer/Uint8Array is a BZIP2 file
Last updated 12 years ago by kevva .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install is-bzip2 
SYNC missed versions from official npm registry.

is-bzip2 Build Status

Check if a Buffer/Uint8Array is a BZIP2 file

Install

$ npm install --save is-bzip2

Usage

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

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

License

MIT License © Kevin Mårtensson

Current Tags

  • 1.0.0                                ...           latest (12 years ago)

2 Versions

  • 1.0.0                                ...           12 years ago
  • 0.1.0                                ...           13 years ago
Maintainers (1)
Downloads
Total 7
Today 0
This Week 0
This Month 2
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (2)

© 2010 - cnpmjs.org x YWFE | Home | YWFE