Files
2021-11-23 17:56:26 +01:00
..
2021-11-23 17:56:26 +01:00
2021-11-23 17:56:26 +01:00
2021-11-23 17:56:26 +01:00

is-gzip Build Status

Check if a Buffer/Uint8Array is a GZIP file

Install

$ npm install --save is-gzip

Usage

var isGzip = require('is-gzip');
var read = require('fs').readFileSync;

isGzip(read('foo.tar.gz'));
// => true

License

MIT License © Kevin Mårtensson